GRINS-0.7.0
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
src
variables
src
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
26
#include "
grins/species_mass_fracs_fe_variables.h
"
27
28
// GRINS
29
#include "
grins/materials_parsing.h
"
30
31
// libMesh
32
#include "libmesh/fem_system.h"
33
34
namespace
GRINS
35
{
36
SpeciesMassFractionsFEVariables::SpeciesMassFractionsFEVariables
(
const
GetPot& input,
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
{
44
MaterialsParsing::parse_species_varnames
(input,
_material
,
_prefix
,
_var_names
);
45
}
46
47
}
// end namespace GRINS
GRINS::MaterialsParsing::parse_species_varnames
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.
Definition:
materials_parsing.C:364
GRINS::SpeciesMassFractionsFEVariables::_prefix
std::string _prefix
Definition:
species_mass_fracs_fe_variables.h:62
materials_parsing.h
species_mass_fracs_fe_variables.h
GRINS
GRINS namespace.
Definition:
arrhenius_catalycity.h:31
GRINS::SpeciesMassFractionsFEVariables::_material
std::string _material
Definition:
species_mass_fracs_fe_variables.h:64
GRINS::SpeciesMassFractionsFEVariables::SpeciesMassFractionsFEVariables
SpeciesMassFractionsFEVariables()
GRINS::MaterialsParsing
Helper functions for parsing material properties.
Definition:
materials_parsing.h:42
GRINS::FEVariablesBase::_var_names
std::vector< std::string > _var_names
Definition:
fe_variables_base.h:123
GRINS::SingleFETypeVariable
Class to encapsulate variables that have only one FEType/Order.
Definition:
single_fe_type_variable.h:39
Generated on Thu Jun 2 2016 21:52:28 for GRINS-0.7.0 by
doxygen
1.8.10