svMultiPhysics
|
The GeneralSimulationParameters class stores paramaters for the 'GeneralSimulationParameters' XML element. More...
#include <Parameters.h>
Public Member Functions | |
GeneralSimulationParameters () | |
Process paramaters for the 'GeneralSimulationParameters' XML element. More... | |
void | print_parameters () |
void | set_values (tinyxml2::XMLElement *xml_element) |
Set general parameters values from XML. More... | |
Public Member Functions inherited from ParameterLists | |
void | set_xml_element_name (const std::string &name) |
void | set_parameter (const std::string &name, const bool value, bool required, Parameter< bool > ¶m) |
Set the name, default value and the parameter required flag. More... | |
void | set_parameter (const std::string &name, const double value, bool required, Parameter< double > ¶m) |
void | set_parameter (const std::string &name, std::initializer_list< double > value, bool required, VectorParameter< double > ¶m) |
void | set_parameter (const std::string &name, std::initializer_list< int > value, bool required, VectorParameter< int > ¶m) |
void | set_parameter (const std::string &name, std::initializer_list< std::string > value, bool required, VectorParameter< std::string > ¶m) |
void | set_parameter (const std::string &name, const int value, bool required, Parameter< int > ¶m, std::vector< int > range={}) |
void | set_parameter (const std::string &name, const std::string &value, bool required, Parameter< std::string > ¶m) |
void | set_parameter_value (const std::string &name, const std::string &value) |
Set the value of a paramter from a string. More... | |
void | check_required () |
Check if any required parameters have not been set. More... | |
std::map< std::string, std::string > | get_parameter_list () |
Get the defined parameters as a map of strings. More... | |
void | print_parameter_list () |
Print the parameters. More... | |
Public Attributes | |
std::string | xml_element_name |
Parameter< bool > | check_ien_order |
Parameter< bool > | continue_previous_simulation |
Parameter< bool > | convert_bin_to_vtk_format |
Parameter< bool > | debug |
Parameter< bool > | overwrite_restart_file |
Parameter< bool > | save_averaged_results |
Parameter< bool > | save_results_to_vtk_format |
Parameter< bool > | simulation_requires_remeshing |
Parameter< bool > | start_averaging_from_zero |
Parameter< bool > | verbose |
Parameter< bool > | warning |
Parameter< bool > | use_precomputed_solution |
Parameter< double > | spectral_radius_of_infinite_time_step |
Parameter< double > | time_step_size |
Parameter< double > | precomputed_time_step_size |
Parameter< int > | increment_in_saving_restart_files |
Parameter< int > | increment_in_saving_vtk_files |
Parameter< int > | number_of_spatial_dimensions |
Parameter< int > | number_of_initialization_time_steps |
Parameter< int > | start_saving_after_time_step |
Parameter< int > | starting_time_step |
Parameter< int > | number_of_time_steps |
Parameter< std::string > | name_prefix_of_saved_vtk_files |
Parameter< std::string > | restart_file_name |
Parameter< std::string > | searched_file_name_to_trigger_stop |
Parameter< std::string > | save_results_in_folder |
Parameter< std::string > | simulation_initialization_file_path |
Parameter< std::string > | precomputed_solution_file_path |
Parameter< std::string > | precomputed_solution_field_name |
Public Attributes inherited from ParameterLists | |
std::map< std::string, std::variant< Parameter< bool > *, Parameter< double > *, Parameter< int > *, Parameter< std::string > *, VectorParameter< double > *, VectorParameter< int > *, VectorParameter< std::string > * > > | params_map |
Map used for storing parameters by name / Parameter template union. More... | |
std::string | xml_element_name = "" |
The GeneralSimulationParameters class stores paramaters for the 'GeneralSimulationParameters' XML element.
GeneralSimulationParameters::GeneralSimulationParameters | ( | ) |
Process paramaters for the 'GeneralSimulationParameters' XML element.
void GeneralSimulationParameters::set_values | ( | tinyxml2::XMLElement * | xml_element | ) |
Set general parameters values from XML.