Many, many more comments
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user