Many, many more comments
This commit is contained in:
@@ -9,6 +9,22 @@
|
||||
|
||||
namespace generator {
|
||||
|
||||
// return a shared_ptr to an EnergyDistributionFunction object at the json-object
|
||||
// with path "path_to_function" (from root) in the Parameter object
|
||||
// has to consist of a json-object called either "TritiumBetaDecay", "MaxwellBoltzmann" or "Constant"
|
||||
// if "TritiumBetaDecay" is specified:
|
||||
// - does not have to contain anything (returns a TritiumBetaDecay object)
|
||||
//
|
||||
// if "MaxwellBoltzmann" is specified:
|
||||
// - has to contain a json-object "Temperature", which has to contain a json-double "value"
|
||||
// that specified the temperature (in K) for the Maxwell-Boltzmann distribution (returns a MaxwellBoltzmann object)
|
||||
//
|
||||
// if "Constant" is specified:
|
||||
// - has to contain a json-object "constant", which has to contain a json-double "value", which
|
||||
// specifies the constant energy in eV (returns a Constant object)
|
||||
//
|
||||
// (examples in "simulation_config_energy_distribution_function_examples.json"; definition of the
|
||||
// objects in "simulatoin/energy_distribution.h")
|
||||
std::shared_ptr<EnergyDistributionFunction> buildEnergyDistributionFunction(
|
||||
Parameter& parameter,
|
||||
const json_path& path_to_function);
|
||||
|
||||
Reference in New Issue
Block a user