| 
    GRINS-0.7.0
    
   | 
 
Base class for reading and handling initial conditions for physics classes. More...
#include <ic_handling_base.h>

Public Member Functions | |
| 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 | 
Protected Types | |
| enum | IC_BASE { PARSED = -2, CONSTANT } | 
Protected Attributes | |
| 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 50 of file ic_handling_base.h.
      
  | 
  protected | 
| GRINS::ICHandlingBase::ICHandlingBase | ( | const std::string & | physics_name | ) | 
Definition at line 52 of file ic_handling_base.C.
      
  | 
  virtual | 
Definition at line 58 of file ic_handling_base.C.
| void GRINS::ICHandlingBase::attach_initial_func | ( | const libMesh::FunctionBase< libMesh::Number > & | initial_val | ) | 
Definition at line 64 of file ic_handling_base.C.
      
  | 
  inline | 
Definition at line 98 of file ic_handling_base.h.
References _ic_func.
Referenced by init_ic_data().
      
  | 
  virtual | 
Override this method to initialize any system-dependent data.
Override this method to, for example, cache a System variable number.
Definition at line 128 of file ic_handling_base.C.
References _subfunction_variables, and get_ic_func().
Referenced by GRINS::Physics::init_ics().
      
  | 
  virtual | 
Definition at line 168 of file ic_handling_base.C.
References _ic_func, _physics_name, _subfunction_variables, CONSTANT, PARSED, and GRINS::StringUtilities::split_string().
Referenced by read_ic_data().
      
  | 
  virtual | 
Definition at line 69 of file ic_handling_base.C.
References init_ic_types(), and string_to_int().
Referenced by GRINS::GenericICHandler::GenericICHandler().
      
  | 
  virtual | 
Definition at line 146 of file ic_handling_base.C.
References _physics_name, CONSTANT, and PARSED.
Referenced by read_ic_data().
      
  | 
  protected | 
Definition at line 85 of file ic_handling_base.h.
Referenced by get_ic_func(), and init_ic_types().
      
  | 
  protected | 
Definition at line 87 of file ic_handling_base.h.
Referenced by GRINS::GenericICHandler::GenericICHandler(), init_ic_types(), and string_to_int().
      
  | 
  protected | 
Definition at line 92 of file ic_handling_base.h.
Referenced by init_ic_data(), and init_ic_types().