GRINS-0.6.0
primitive_temp_variables.h
Go to the documentation of this file.
1 //-----------------------------------------------------------------------bl-
2 //--------------------------------------------------------------------------
3 //
4 // GRINS - General Reacting Incompressible Navier-Stokes
5 //
6 // Copyright (C) 2014-2015 Paul T. Bauman, Roy H. Stogner
7 // Copyright (C) 2010-2013 The PECOS Development Team
8 //
9 // This library is free software; you can redistribute it and/or
10 // modify it under the terms of the Version 2.1 GNU Lesser General
11 // Public License as published by the Free Software Foundation.
12 //
13 // This library is distributed in the hope that it will be useful,
14 // but WITHOUT ANY WARRANTY; without even the implied warranty of
15 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 // Lesser General Public License for more details.
17 //
18 // You should have received a copy of the GNU Lesser General Public
19 // License along with this library; if not, write to the Free Software
20 // Foundation, Inc. 51 Franklin Street, Fifth Floor,
21 // Boston, MA 02110-1301 USA
22 //
23 //-----------------------------------------------------------------------el-
24 
25 #ifndef GRINS_PRIMITIVE_TEMP_VARIABLES_H
26 #define GRINS_PRIMITIVE_TEMP_VARIABLES_H
27 
28 // libMesh forward declarations
29 class GetPot;
30 namespace libMesh
31 {
32  class FEMSystem;
33 }
34 
35 // GRINS
36 #include "grins/var_typedefs.h"
37 
38 namespace GRINS
39 {
41  {
42  public:
43 
44  PrimitiveTempVariables( const GetPot& input );
46 
47  virtual void init( libMesh::FEMSystem* system );
48 
49  VariableIndex T_var() const;
50 
51  protected:
52 
54  VariableIndex _T_var; /* Index for temperature field */
55 
57  std::string _T_var_name;
58 
59  private:
60 
62 
63  };
64 
65  inline
67  {
68  return _T_var;
69  }
70 
71 } // end namespace GRINS
72 
73 #endif // GRINS_PRIMITIVE_TEMP_VARIABLES_H
unsigned int VariableIndex
More descriptive name of the type used for variable indices.
Definition: var_typedefs.h:40
std::string _T_var_name
Names of each variable in the system.
GRINS namespace.
virtual void init(libMesh::FEMSystem *system)
VariableIndex _T_var
Indices for each variable;.

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