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

#include <turbulence_variables.h>

Inheritance diagram for GRINS::TurbulenceVariables:
Inheritance graph
[legend]

Public Member Functions

 TurbulenceVariables (const GetPot &input)
 
 ~TurbulenceVariables ()
 
virtual void init (libMesh::FEMSystem *system)
 
VariableIndex nu_var () const
 

Protected Attributes

VariableIndex _nu_var
 Indices for each variable;. More...
 
std::string _nu_var_name
 Names of each variable in the system. More...
 

Private Member Functions

 TurbulenceVariables ()
 

Detailed Description

Definition at line 40 of file turbulence_variables.h.

Constructor & Destructor Documentation

GRINS::TurbulenceVariables::TurbulenceVariables ( const GetPot &  input)

Definition at line 37 of file turbulence_variables.C.

39  _nu_var_name( input("Physics/VariableNames/turbulent_viscosity", nu_var_name_default ) )
40  {
41  return;
42  }
std::string _nu_var_name
Names of each variable in the system.
VariableIndex _nu_var
Indices for each variable;.
const unsigned int invalid_var_index
Invalid varaible index id.
Definition: var_typedefs.h:48
const std::string nu_var_name_default
z-velocity
GRINS::TurbulenceVariables::~TurbulenceVariables ( )

Definition at line 44 of file turbulence_variables.C.

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

Member Function Documentation

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

Reimplemented in GRINS::TurbulenceFEVariables.

Definition at line 49 of file turbulence_variables.C.

References _nu_var, and _nu_var_name.

Referenced by GRINS::SpalartAllmarasStabilizationHelper::init(), and GRINS::SpalartAllmarasBCHandling::init_bc_data().

50  {
51  libmesh_assert( system->has_variable( _nu_var_name ) );
52 
53  _nu_var = system->variable_number( _nu_var_name );
54 
55  return;
56  }
std::string _nu_var_name
Names of each variable in the system.
VariableIndex _nu_var
Indices for each variable;.
VariableIndex GRINS::TurbulenceVariables::nu_var ( ) const
inline

Member Data Documentation

VariableIndex GRINS::TurbulenceVariables::_nu_var
protected

Indices for each variable;.

Definition at line 54 of file turbulence_variables.h.

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

std::string GRINS::TurbulenceVariables::_nu_var_name
protected

Names of each variable in the system.

Definition at line 57 of file turbulence_variables.h.

Referenced by init(), and GRINS::TurbulenceFEVariables::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