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

#include <turbulence_fe_variables.h>

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

Public Member Functions

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

Protected Attributes

GRINSEnums::FEFamily _TU_FE_family
 Element type, read from input. More...
 
GRINSEnums::Order _TU_order
 Element orders, read from input. More...
 
VariableIndex _nu_var
 Indices for each variable;. More...
 
std::string _nu_var_name
 Names of each variable in the system. More...
 

Private Member Functions

 TurbulenceFEVariables ()
 

Detailed Description

Definition at line 46 of file turbulence_fe_variables.h.

Constructor & Destructor Documentation

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

Definition at line 39 of file turbulence_fe_variables.C.

40  : TurbulenceVariables(input),
41  _TU_FE_family( libMesh::Utility::string_to_enum<GRINSEnums::FEFamily>( input("Physics/"+physics_name+"/TU_FE_family", input("Physics/"+physics_name+"/FE_family", "LAGRANGE") ) ) ),
42  _TU_order( libMesh::Utility::string_to_enum<GRINSEnums::Order>( input("Physics/"+physics_name+"/TU_order", "FIRST") ) )
43  {
44  return;
45  }
GRINSEnums::FEFamily _TU_FE_family
Element type, read from input.
GRINSEnums::Order _TU_order
Element orders, read from input.
GRINS::TurbulenceFEVariables::~TurbulenceFEVariables ( )

Definition at line 47 of file turbulence_fe_variables.C.

48  {
49  return;
50  }
GRINS::TurbulenceFEVariables::TurbulenceFEVariables ( )
private

Member Function Documentation

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

Reimplemented from GRINS::TurbulenceVariables.

Definition at line 52 of file turbulence_fe_variables.C.

References GRINS::TurbulenceVariables::_nu_var, GRINS::TurbulenceVariables::_nu_var_name, _TU_FE_family, and _TU_order.

53  {
54  _nu_var = system->add_variable( _nu_var_name, this->_TU_order, _TU_FE_family);
55  return;
56  }
std::string _nu_var_name
Names of each variable in the system.
GRINSEnums::FEFamily _TU_FE_family
Element type, read from input.
VariableIndex _nu_var
Indices for each variable;.
GRINSEnums::Order _TU_order
Element orders, read from input.
VariableIndex GRINS::TurbulenceVariables::nu_var ( ) const
inlineinherited

Member Data Documentation

VariableIndex GRINS::TurbulenceVariables::_nu_var
protectedinherited

Indices for each variable;.

Definition at line 54 of file turbulence_variables.h.

Referenced by GRINS::TurbulenceVariables::init(), init(), and GRINS::TurbulenceVariables::nu_var().

std::string GRINS::TurbulenceVariables::_nu_var_name
protectedinherited

Names of each variable in the system.

Definition at line 57 of file turbulence_variables.h.

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

GRINSEnums::FEFamily GRINS::TurbulenceFEVariables::_TU_FE_family
protected

Element type, read from input.

Definition at line 58 of file turbulence_fe_variables.h.

Referenced by init().

GRINSEnums::Order GRINS::TurbulenceFEVariables::_TU_order
protected

Element orders, read from input.

Definition at line 61 of file turbulence_fe_variables.h.

Referenced by 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