Files
karl/include/generators/density_field_generator.h
T
csendlinger 5fc227e1b1 Implemented pitch angle resolution.
Still includes (and uses) the non-pitch angle
resolved fields as well; have to be either removed
completely or refactored s.t. one of the two options
is chosen.
Pitch angle distribution has a hardcoded number of
bins for now, and exists in 'energy_binning.h'
2024-10-28 15:00:19 +01:00

26 lines
740 B
C++
Executable File

#ifndef DENSITY_FIELD_GENERATOR_H
#define DENSITY_FIELD_GENERATOR_H
#include "simulation/density_field.h"
#include "simulation/jansson_additionals.h"
#include "simulation/parameter.h"
#include "simulation/timer.h"
namespace generator {
std::shared_ptr<ConstantDensityField> buildConstantDensityField(json_t* object);
std::shared_ptr<DynamicDensityField> buildDynamicDensityField(
Parameter& parameter,
const json_path& path_to_field,
std::shared_ptr<Timer>& timer);
std::shared_ptr<DynamicDensityFieldWithPitchAngle> buildDynamicDensityFieldWithPitchAngle(
Parameter& parameter,
const json_path& path_to_field,
std::shared_ptr<Timer>& timer);
}; // namespace generator
#endif /* DENSITY_FIELD_GENERATOR_H */