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,6 +8,25 @@
namespace generator {
// return a shared_ptr to a VelocityDistribution object described by the json-object
// at the path "path_to_distribution" (from root object) in the Parameter object
// consisting of a json-object either called "VelocityDistributionFromFunction" or "null"
// if "VelocityDistributionFromFunction" is specified:
// - has to consist of a json-object "VelocityDistributionFunction", as defined in "generators/velocity_distribution_function_generator.h"
//
// if "null" is specified:
// - no further information has to be specified
//
// example:
// "path_to_distribution" : {
// "VelocityDistributionFromFunction": {
// "VelocityDistributionFunction" : { ... }
// }
// }
// or
// "path_to_distribution" : {
// "null": {}
// }
std::shared_ptr<VelocityDistribution> buildVelocityDistribution(
Parameter& parameter,
const json_path& path_to_distribution);