![]() |
MoCSI API Reference
|
Submodule that provides a constant heliocentric distance. More...
#include <iostream>#include <memory>#include <string>#include <valarray>#include "../../src/GenericSubmodule.h"#include "../../src/ModuleFactory.h"
Go to the source code of this file.
Classes | |
| class | HeliocentricDistanceConstantCustom< T > |
Macros | |
| #define | HELIOCENTRIC_DISTANCE_CONSTANT_CUSTOM_VERSION "7" |
Submodule that provides a constant heliocentric distance.
This submodule returns a constant value for the heliocentric distance, which is read from the corresponding ini file. The value is stored in the simulation field map and does not change over time steps.
This module integrates with calculation chains but since the distance is constant, the calculation simply writes the fixed value to the field during initialization and pre-time step execution.
| T | Numeric type used in the simulation (e.g., float, double) |
| #define HELIOCENTRIC_DISTANCE_CONSTANT_CUSTOM_VERSION "7" |