BioCMAMC-ST
|
A structure to hold user-defined control parameters for simulation settings. More...
#include <simulation_parameters.hpp>
Static Public Member Functions | |
static UserControlParameters | m_default () |
Provides default settings for the UserControlParameters structure. | |
Public Attributes | |
double | biomass_initial_concentration |
Initial concentration of biomass. | |
double | final_time |
Final time for the simulation (in seconds). | |
double | delta_time |
Time step for the simulation (in seconds). | |
uint64_t | number_particle |
Number of particles in the simulation. | |
int32_t | n_thread |
Number of threads to use for simulation. | |
uint32_t | number_exported_result |
Number of results to be exported. | |
bool | recursive |
Flag to enable recursive processing. | |
bool | force_override |
Flag to allow overwriting of existing results. | |
bool | serde |
Flag to enable serialization/deserialization. | |
std::string | initialiser_path |
Path to the initialiser configuration file. | |
std::string | model_name |
Name of the simulation model. | |
std::string | results_file_name |
Name of the file where results are saved. | |
std::string | cma_case_path |
Path to the CMA case file. | |
std::optional< std::string > | serde_file |
Optional file path for serialized data. | |
A structure to hold user-defined control parameters for simulation settings.
This struct is used to define parameters for configuring a simulation. Each parameter allows customization of the simulation's properties, runtime, and output settings.
|
static |
Provides default settings for the UserControlParameters structure.
This static method returns an instance of UserControlParameters populated with default values for each field.
double Core::UserControlParameters::biomass_initial_concentration |
Initial concentration of biomass.
std::string Core::UserControlParameters::cma_case_path |
Path to the CMA case file.
double Core::UserControlParameters::delta_time |
Time step for the simulation (in seconds).
double Core::UserControlParameters::final_time |
Final time for the simulation (in seconds).
bool Core::UserControlParameters::force_override |
Flag to allow overwriting of existing results.
std::string Core::UserControlParameters::initialiser_path |
Path to the initialiser configuration file.
std::string Core::UserControlParameters::model_name |
Name of the simulation model.
int32_t Core::UserControlParameters::n_thread |
Number of threads to use for simulation.
uint32_t Core::UserControlParameters::number_exported_result |
Number of results to be exported.
uint64_t Core::UserControlParameters::number_particle |
Number of particles in the simulation.
bool Core::UserControlParameters::recursive |
Flag to enable recursive processing.
std::string Core::UserControlParameters::results_file_name |
Name of the file where results are saved.
bool Core::UserControlParameters::serde |
Flag to enable serialization/deserialization.
std::optional<std::string> Core::UserControlParameters::serde_file |
Optional file path for serialized data.