GRINS-0.8.0
catalytic_wall_neumann_bc_factory_common.h
Go to the documentation of this file.
1 //-----------------------------------------------------------------------bl-
2 //--------------------------------------------------------------------------
3 //
4 // GRINS - General Reacting Incompressible Navier-Stokes
5 //
6 // Copyright (C) 2014-2017 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_CATALYTIC_WALL_NEUMANN_BC_FACTORY_COMMON_H
26 #define GRINS_CATALYTIC_WALL_NEUMANN_BC_FACTORY_COMMON_H
27 
28 // GRINS
29 #include "grins/catalycity_base.h"
30 #include "grins/var_typedefs.h"
32 
33 // libMesh forward declarations
34 class GetPot;
35 
36 namespace GRINS
37 {
38  // Forward declarations
39  class FEVariablesBase;
40 
42 
44  template<typename ImplType>
46  {
47  public:
48 
50 
52 
53  protected:
54 
55  SharedPtr<NeumannBCAbstract>
56  build_catalytic_wall_common( const GetPot& input,
57  const FEVariablesBase& fe_var,
58  const std::string& material,
59  const std::string& reaction,
60  SharedPtr<CatalycityBase>& gamma_ptr,
61  libMesh::Real p0,
62  std::string& thermochem_lib );
63 
64  ImplType _wall_impl;
65 
66  void extract_species_vars( const FEVariablesBase& fe_var,
67  std::vector<VariableIndex>& species_vars ) const;
68 
69  void extract_material( const FEVariablesBase& fe_var, std::string& material ) const;
70 
72 
73  };
74 
75 } // end namespace GRINS
76 
77 #endif // GRINS_CATALYTIC_WALL_NEUMANN_BC_FACTORY_COMMON_H
unsigned int VariableIndex
More descriptive name of the type used for variable indices.
Definition: var_typedefs.h:42
void extract_species_vars(const FEVariablesBase &fe_var, std::vector< VariableIndex > &species_vars) const
void extract_material(const FEVariablesBase &fe_var, std::string &material) const
GRINS namespace.
Factory helper class for building catalytic wall Neumann boundary conditions.
SharedPtr< NeumannBCAbstract > build_catalytic_wall_common(const GetPot &input, const FEVariablesBase &fe_var, const std::string &material, const std::string &reaction, SharedPtr< CatalycityBase > &gamma_ptr, libMesh::Real p0, std::string &thermochem_lib)

Generated on Tue Dec 19 2017 12:47:27 for GRINS-0.8.0 by  doxygen 1.8.9.1