GRINS-0.6.0
Public Member Functions | Protected Attributes | Private Member Functions | List of all members
GRINS::PrimitiveTempFEVariables Class Reference

#include <primitive_temp_fe_variables.h>

Inheritance diagram for GRINS::PrimitiveTempFEVariables:
Inheritance graph
[legend]
Collaboration diagram for GRINS::PrimitiveTempFEVariables:
Collaboration graph
[legend]

Public Member Functions

 PrimitiveTempFEVariables (const GetPot &input, const std::string &physics_name)
 
 ~PrimitiveTempFEVariables ()
 
virtual void init (libMesh::FEMSystem *system)
 
VariableIndex T_var () const
 

Protected Attributes

GRINSEnums::FEFamily _T_FE_family
 Element type, read from input. More...
 
GRINSEnums::Order _T_order
 Element orders, read from input. More...
 
VariableIndex _T_var
 Indices for each variable;. More...
 
std::string _T_var_name
 Names of each variable in the system. More...
 

Private Member Functions

 PrimitiveTempFEVariables ()
 

Detailed Description

Definition at line 46 of file primitive_temp_fe_variables.h.

Constructor & Destructor Documentation

GRINS::PrimitiveTempFEVariables::PrimitiveTempFEVariables ( const GetPot &  input,
const std::string &  physics_name 
)

Definition at line 36 of file primitive_temp_fe_variables.C.

37  : PrimitiveTempVariables(input),
38  _T_FE_family( libMesh::Utility::string_to_enum<GRINSEnums::FEFamily>( input("Physics/"+physics_name+"/T_FE_family", input("Physics/"+physics_name+"/FE_family", "LAGRANGE") ) ) ),
39  _T_order( libMesh::Utility::string_to_enum<GRINSEnums::Order>( input("Physics/"+physics_name+"/T_order", "SECOND") ) )
40  {
41  return;
42  }
GRINSEnums::Order _T_order
Element orders, read from input.
GRINSEnums::FEFamily _T_FE_family
Element type, read from input.
GRINS::PrimitiveTempFEVariables::~PrimitiveTempFEVariables ( )

Definition at line 44 of file primitive_temp_fe_variables.C.

45  {
46  return;
47  }
GRINS::PrimitiveTempFEVariables::PrimitiveTempFEVariables ( )
private

Member Function Documentation

void GRINS::PrimitiveTempFEVariables::init ( libMesh::FEMSystem *  system)
virtual

Reimplemented from GRINS::PrimitiveTempVariables.

Definition at line 49 of file primitive_temp_fe_variables.C.

References _T_FE_family, _T_order, GRINS::PrimitiveTempVariables::_T_var, and GRINS::PrimitiveTempVariables::_T_var_name.

Referenced by GRINS::BoussinesqBuoyancyBase::init_variables().

50  {
51  _T_var = system->add_variable( _T_var_name, this->_T_order, _T_FE_family );
52 
53  return;
54  }
GRINSEnums::Order _T_order
Element orders, read from input.
std::string _T_var_name
Names of each variable in the system.
GRINSEnums::FEFamily _T_FE_family
Element type, read from input.
VariableIndex _T_var
Indices for each variable;.
VariableIndex GRINS::PrimitiveTempVariables::T_var ( ) const
inlineinherited

Member Data Documentation

GRINSEnums::FEFamily GRINS::PrimitiveTempFEVariables::_T_FE_family
protected

Element type, read from input.

Definition at line 58 of file primitive_temp_fe_variables.h.

Referenced by init().

GRINSEnums::Order GRINS::PrimitiveTempFEVariables::_T_order
protected

Element orders, read from input.

Definition at line 61 of file primitive_temp_fe_variables.h.

Referenced by init().

VariableIndex GRINS::PrimitiveTempVariables::_T_var
protectedinherited

Indices for each variable;.

Definition at line 54 of file primitive_temp_variables.h.

Referenced by GRINS::PrimitiveTempVariables::init(), init(), and GRINS::PrimitiveTempVariables::T_var().

std::string GRINS::PrimitiveTempVariables::_T_var_name
protectedinherited

Names of each variable in the system.

Definition at line 57 of file primitive_temp_variables.h.

Referenced by GRINS::PrimitiveTempVariables::init(), and init().


The documentation for this class was generated from the following files:

Generated on Mon Jun 22 2015 21:32:24 for GRINS-0.6.0 by  doxygen 1.8.9.1