GRINS-0.7.0
species_mass_fracs_fe_variables.C
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 // This class
27 
28 // GRINS
30 
31 // libMesh
32 #include "libmesh/fem_system.h"
33 
34 namespace GRINS
35 {
37  const std::string& physics_name,
38  bool is_constraint_var )
39  : SingleFETypeVariable(input,physics_name,"species_",this->subsection(),
40  "LAGRANGE","SECOND",is_constraint_var),
41  _prefix(input("Variables/"+this->subsection()+"/names", "w_" )),
42  _material(MaterialsParsing::material_name(input,physics_name))
43  {
45  }
46 
47 } // end namespace GRINS
static void parse_species_varnames(const GetPot &input, const std::string &material, const std::string &prefix, std::vector< std::string > &species_names)
Helper function for parsing the chemical species and setting variable name.
GRINS namespace.
Helper functions for parsing material properties.
std::vector< std::string > _var_names
Class to encapsulate variables that have only one FEType/Order.

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