GRINS-0.7.0
variables_parsing.h
Go to the documentation of this file.
1 //-----------------------------------------------------------------------bl-
2 //--------------------------------------------------------------------------
3 //
4 // GRINS - General Reacting Incompressible Navier-Stokes
5 //
6 // Copyright (C) 2014-2016 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_VARIABLES_PARSING_H
26 #define GRINS_VARIABLES_PARSING_H
27 
28 namespace GRINS
29 {
31  {
32  public:
33 
34  static std::string displacement_section()
35  { return "Displacement"; }
36 
37  static std::string pressure_section()
38  { return "Pressure"; }
39 
40  static std::string temperature_section()
41  { return "Temperature"; }
42 
43  static std::string thermo_pressure_section()
44  { return "ThermoPressure"; }
45 
46  static std::string turbulence_section()
47  { return "TurbulentViscosity"; }
48 
49  static std::string species_mass_fractions_section()
50  { return "SpeciesMassFractions"; }
51 
52  static std::string velocity_section()
53  { return "Velocity"; }
54 
55  static std::string generic_section()
56  { return "GenericVariable"; }
57 
59  static std::string variables_section()
60  { return "Variables"; }
61 
63 
65  static std::string varnames_input_name( const std::string& subsection )
66  { return VariablesParsing::variables_section()+"/"+subsection+"/names"; }
67 
69  static std::string fe_family_input_name( const std::string& subsection )
70  { return VariablesParsing::variables_section()+"/"+subsection+"/fe_family"; }
71 
73  static std::string order_input_name( const std::string& subsection )
74  { return VariablesParsing::variables_section()+"/"+subsection+"/order"; }
75 
76  };
77 
78 } // end namespace GRINS
79 
80 #endif // GRINS_VARIABLES_PARSING_H
static std::string variables_section()
Helper function to encapsualte the overall [Variables] section name.
static std::string temperature_section()
static std::string displacement_section()
static std::string fe_family_input_name(const std::string &subsection)
Helper function to encaplusate fe_family input variable.
GRINS namespace.
static std::string velocity_section()
static std::string species_mass_fractions_section()
static std::string thermo_pressure_section()
static std::string pressure_section()
static std::string varnames_input_name(const std::string &subsection)
Helper function to encapsulate the names variable in the input file.
static std::string turbulence_section()
static std::string generic_section()
static std::string order_input_name(const std::string &subsection)
Helper function to encaplusate order input variable.

Generated on Thu Jun 2 2016 21:52:28 for GRINS-0.7.0 by  doxygen 1.8.10