Skip to content

nplinden/hericendre

Repository files navigation

Welcome to Héricendre

Installation

Héricendre uses vcpkg for dependency management. Simply install vcpkg and identify the path to the vcpkg.cmake file. It should be located in $VCPKG_ROOT/scripts/buildsystems/vcpkg.cmake.

To only build the hericendre binary, go to the Héricendre root directory and do:

$ cmake -Bbuild/ -DCMAKE_TOOLCHAIN_FILE=/path/to/vcpkg.cmake .
$ cd build
$ make

To build the hericendre python package:

$ uv build -Ccmake.define.CMAKE_TOOLCHAIN_FILE=/path/to/vcpkg.cmake

Use

The compute the decay of a single nuclide over 10 years:

name = "Example"

[Settings]
chain = "data/chain_casl_sfr.xml"
results = "results/results_cram.h5"
solver = "CRAM48"

[Material]
concentrations = { Pu239 = 1 }

[Time]
unit = "y"
timestamps = [0, "linspace 1 10 9", 10]

To compute the decay of a material containing 1 single unit of every nuclide in the chain:

name = "Example"

[Settings]
chain = "data/chain_casl_sfr.xml"
results = "results/results_cram.h5"
solver = "CRAM48"

[Material]
uniform = 1.0

[Time]
unit = "y"
timestamps = [0, "linspace 1 10 9", 10]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published