include/meltpooldg/core/parameters_base.hpp Source File
|
Developer Documentation
|
parameters_base.hpp
Go to the documentation of this file.
Concept to check if a type is derived from ParametersBase.
Definition parameters_base.hpp:118
void add_and_parse_parameters(const std::string ¶meter_file, const std::function< void(dealii::ParameterHandler &)> &add_parameters, const bool &enable_print=false, const bool print_details=false, const bool skip_undefined=true, const std::string &subsection="")
Adds parameters from a file to a ParameterHandler object.
Definition parameters_base.cpp:7
Abstract base class for managing parameter files.
Definition parameters_base.hpp:40
virtual void post(const std::string ¶meter_filename)=0
Post-processing after reading the parameter file.
virtual void add_parameters(dealii::ParameterHandler &prm)=0
Add parameters to the ParameterHandler.
void check_for_file(const std::string ¶meter_filename) const
Check if a parameter file exists and is accessible.
Definition parameters_base.cpp:93
void print_parameters(dealii::ParameterHandler &prm, std::ostream &pcout, const bool print_details)
Print parameters to an output stream.
Definition parameters_base.cpp:79
virtual void process_parameters_file(dealii::ParameterHandler &prm, const std::string ¶meter_filename)
Process a parameter file and populate the ParameterHandler.
Definition parameters_base.cpp:44
Generated by