BioDynaMo
v1.05.120-25dc9790
|
Go to the documentation of this file.
15 #ifndef CORE_PARAM_PARAM_H_
16 #define CORE_PARAM_PARAM_H_
23 #include <unordered_map>
58 template <
typename TParamGroup>
59 const TParamGroup*
Get()
const {
61 return bdm_static_cast<const TParamGroup*>(
groups_.at(TParamGroup::kUid));
64 "Couldn't find the requested group parameter.");
69 template <
typename TParamGroup>
72 return bdm_static_cast<TParamGroup*>(
groups_.at(TParamGroup::kUid));
75 "Couldn't find the requested group parameter.");
282 ThreadSafetyMechanism::kUserSpecified;
329 Concat(std::getenv(
"BDMSYS"),
330 "/include/core/visualization/paraview/default_insitu_pipeline.py");
385 std::map<std::string, std::set<std::string>>
556 MappedDataArrayMode::kZeroCopy;
576 bool track_git_changes =
true;
577 #endif // USE_LIBGIT2
652 static std::unordered_map<ParamGroupUid, std::unique_ptr<ParamGroup>>
654 std::unordered_map<ParamGroupUid, ParamGroup*>
groups_;
660 #endif // CORE_PARAM_PARAM_H_
std::string visualization_engine
bool remove_output_dir_contents
Param::MappedDataArrayMode mapped_data_array_mode
std::unordered_map< ParamGroupUid, ParamGroup * > groups_
bool detect_static_agents
bool insitu_visualization
std::map< std::string, std::set< std::string > > visualize_agents
JSON_object.
std::string ToJsonString() const
uint64_t mem_mgr_aligned_pages_shift
uint32_t unibn_bucketsize
friend class DiffusionTest_CopyOldData_Test
bool export_visualization
uint64_t show_simulation_step
std::string diffusion_boundary_condition
std::string progress_bar_time_unit
static void RegisterParamGroup(ParamGroup *param)
uint64_t mem_mgr_max_mem_per_thread_factor
NumericalODESolver numerical_ode_solver
const TParamGroup * Get() const
bool minimize_memory_while_rebalancing
std::string compute_target
BDM_CLASS_DEF_NV(Param, 1)
real_t mem_mgr_growth_rate
std::string diffusion_method
std::vector< std::string > unschedule_default_operations
std::string pv_insitu_pipelinearguments
static std::unordered_map< ParamGroupUid, std::unique_ptr< ParamGroup > > registered_groups_
real_t simulation_time_step
uint64_t scheduling_batch_size
@ kOpen
The simulation space grows to encapsulate all agents.
bool visualization_compress_pv_files
Interface for parameter groups.
std::string Concat(const Args &... parts)
Concatenates all arguments into a string. Equivalent to streaming all arguments into a stringstream a...
ExecutionOrder execution_order
void MergeJsonPatch(const std::string &patch)
static void Error(const std::string &location, const Args &... parts)
Prints error message.
real_t simulation_max_displacement
void AssignFromConfig(const std::shared_ptr< cpptoml::table > &)
Assign values from config file to variables.
BoundSpaceMode bound_space
uint32_t visualization_interval
std::string pv_insitu_pipeline
ThreadSafetyMechanism thread_safety_mechanism
std::vector< VisualizeDiffusion > visualize_diffusion
bool visualization_export_generate_pvsm
void Restore(Param &&other)