GRINS-0.8.0
|
Base class for reading and handling initial conditions for physics classes. More...
#include <generic_ic_handler.h>
Public Member Functions | |
GenericICHandler (const std::string &physics_name, const GetPot &input) | |
virtual | ~GenericICHandler () |
Public Member Functions inherited from GRINS::ICHandlingBase | |
ICHandlingBase (const std::string &physics_name) | |
virtual | ~ICHandlingBase () |
void | attach_initial_func (const libMesh::FunctionBase< libMesh::Number > &initial_val) |
virtual void | read_ic_data (const GetPot &input, const std::string &id_str, const std::string &ic_str, const std::string &var_str, const std::string &value_str) |
virtual void | init_ic_data (const libMesh::FEMSystem &system, libMesh::CompositeFunction< libMesh::Number > &all_ics) |
Override this method to initialize any system-dependent data. More... | |
virtual int | string_to_int (const std::string &bc_type_in) const |
virtual void | init_ic_types (const libMesh::subdomain_id_type ic_id, const std::string &ic_id_string, const int ic_type, const std::string &ic_vars_string, const std::string &ic_value_string, const GetPot &input) |
libMesh::FunctionBase< libMesh::Number > * | get_ic_func () const |
Additional Inherited Members | |
Protected Types inherited from GRINS::ICHandlingBase | |
enum | IC_BASE { PARSED = -2, CONSTANT } |
Protected Attributes inherited from GRINS::ICHandlingBase | |
libMesh::UniquePtr< libMesh::FunctionBase< libMesh::Number > > | _ic_func |
std::string | _physics_name |
std::vector< std::string > | _subfunction_variables |
Base class for reading and handling initial conditions for physics classes.
Definition at line 43 of file generic_ic_handler.h.
GRINS::GenericICHandler::GenericICHandler | ( | const std::string & | physics_name, |
const GetPot & | input | ||
) |
Definition at line 52 of file generic_ic_handler.C.
References GRINS::ICHandlingBase::_physics_name, and GRINS::ICHandlingBase::read_ic_data().
|
virtual |
Definition at line 66 of file generic_ic_handler.C.