Many, many more comments

This commit is contained in:
2024-12-04 17:15:04 +01:00
parent 8696517336
commit 03854339ca
100 changed files with 1702 additions and 49 deletions
@@ -8,8 +8,16 @@
namespace generator {
// return a shared_ptr to a ConstantDensityField object described by the give json-object
// object has to contain a json-object "ScalarField", that has to follow the form
// described in "buildScalarField" (defined in "generators/scalar_field_generator.h")
std::shared_ptr<ConstantDensityField> buildConstantDensityField(json_t* object);
// return a shared_ptr to a DynamicDensityField object described by the json-object
// at the give path in the Parameter object which uses the given Timer object
// the json-object at path_to_field has to contain two json-objects called
// "PositionBinning" and "EnergyBinning", which are described in "buildPositionBinning"
// and "buildEnergyBinning" respectivley (both defined in "generators/binning_generator.h")
std::shared_ptr<DynamicDensityField> buildDynamicDensityField(
Parameter& parameter,
const json_path& path_to_field,