25 #ifndef GRINS_DIRICHLET_BC_FACTORY_FUNCTION_OLD_STYLE_BASE_H 
   26 #define GRINS_DIRICHLET_BC_FACTORY_FUNCTION_OLD_STYLE_BASE_H 
   33   template<
typename FunctionType>
 
   76   template<
typename FunctionType>
 
   82     if( this->_value_var_old_style == std::string(
"DIE!") )
 
   83       libmesh_error_msg(
"ERROR: must call set_value_var_old_style() before building boundary condition!");
 
   85     if( this->_value_idx_old_style == libMesh::invalid_uint )
 
   86       libmesh_error_msg(
"ERROR: must call set_value_index_old_style() before building boundary condition!");
 
   88     if( !this->_var_names_old_style )
 
   89       libmesh_error_msg(
"ERROR: must call set_var_names_old_style() before building boundary condition!");
 
   92   template<
typename FunctionType>
 
   97     this->_value_var_old_style = std::string(
"DIE!");
 
   98     this->_value_idx_old_style = libMesh::invalid_uint;
 
   99     this->_var_names_old_style = NULL;
 
  104 #endif // GRINS_DIRICHLET_BC_FACTORY_FUNCTION_OLD_STYLE_BASE_H 
virtual void reset_state()
Helper function to redue code duplication. 
 
~DirichletBCFactoryFunctionOldStyleBase()
 
virtual void reset_state()
Helper function. 
 
static void set_var_names_old_style(const std::vector< std::string > &var_names)
 
static void set_value_var_old_style(const std::string &value_var)
Input variable for parsing old style. 
 
virtual void check_state() const 
Helper function. 
 
virtual const std::vector< std::string > & get_var_names() const 
Helper function that can be overridded in subclasses. 
 
static unsigned int _value_idx_old_style
 
static void set_value_index_old_style(unsigned int idx)
Input variable index for parsing old style. 
 
static std::string _value_var_old_style
 
virtual void check_state() const
Helper function to reduce code duplication. 
 
static const std::vector< std::string > * _var_names_old_style
 
DirichletBCFactoryFunctionOldStyleBase(const std::string &bc_type_name)