|
GRINS-0.6.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 () |
| 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 |
Protected Types | |
| enum | IC_BASE { PARSED = -2, CONSTANT } |
Protected Attributes | |
| libMesh::AutoPtr< 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 44 of file generic_ic_handler.h.
|
protectedinherited |
| 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.
|
inherited |
Definition at line 65 of file ic_handling_base.C.
|
inlineinherited |
Definition at line 99 of file ic_handling_base.h.
References GRINS::ICHandlingBase::_ic_func.
Referenced by GRINS::ICHandlingBase::init_ic_data().
|
virtualinherited |
Override this method to initialize any system-dependent data.
Override this method to, for example, cache a System variable number.
Definition at line 129 of file ic_handling_base.C.
References GRINS::ICHandlingBase::_subfunction_variables, and GRINS::ICHandlingBase::get_ic_func().
Referenced by GRINS::Physics::init_ics().
|
virtualinherited |
Definition at line 169 of file ic_handling_base.C.
References GRINS::ICHandlingBase::_ic_func, GRINS::ICHandlingBase::_physics_name, GRINS::ICHandlingBase::_subfunction_variables, GRINS::ICHandlingBase::CONSTANT, GRINS::ICHandlingBase::PARSED, and GRINS::StringUtilities::split_string().
Referenced by GRINS::ICHandlingBase::read_ic_data().
|
virtualinherited |
Definition at line 70 of file ic_handling_base.C.
References GRINS::ICHandlingBase::init_ic_types(), and GRINS::ICHandlingBase::string_to_int().
Referenced by GenericICHandler().
|
virtualinherited |
Definition at line 147 of file ic_handling_base.C.
References GRINS::ICHandlingBase::_physics_name, GRINS::ICHandlingBase::CONSTANT, and GRINS::ICHandlingBase::PARSED.
Referenced by GRINS::ICHandlingBase::read_ic_data().
|
protectedinherited |
Definition at line 86 of file ic_handling_base.h.
Referenced by GRINS::ICHandlingBase::get_ic_func(), and GRINS::ICHandlingBase::init_ic_types().
|
protectedinherited |
Definition at line 88 of file ic_handling_base.h.
Referenced by GenericICHandler(), GRINS::ICHandlingBase::init_ic_types(), and GRINS::ICHandlingBase::string_to_int().
|
protectedinherited |
Definition at line 93 of file ic_handling_base.h.
Referenced by GRINS::ICHandlingBase::init_ic_data(), and GRINS::ICHandlingBase::init_ic_types().