MoCSI API Reference
Loading...
Searching...
No Matches
Classes | Macros
HeliocentricDistanceConstantCustom.h File 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"
Include dependency graph for HeliocentricDistanceConstantCustom.h:

Go to the source code of this file.

Classes

class  HeliocentricDistanceConstantCustom< T >
 

Macros

#define HELIOCENTRIC_DISTANCE_CONSTANT_CUSTOM_VERSION   "7"
 

Detailed Description

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.

Template Parameters
TNumeric type used in the simulation (e.g., float, double)

Macro Definition Documentation

◆ HELIOCENTRIC_DISTANCE_CONSTANT_CUSTOM_VERSION

#define HELIOCENTRIC_DISTANCE_CONSTANT_CUSTOM_VERSION   "7"