#include <catalycity_factories_old_style.h>
GRINS::PowerLawCatalycityFactoryOldStyle::PowerLawCatalycityFactoryOldStyle |
( |
const std::string & |
physics_name | ) |
|
|
inline |
GRINS::PowerLawCatalycityFactoryOldStyle::~PowerLawCatalycityFactoryOldStyle |
( |
| ) |
|
|
inline |
virtual libMesh::UniquePtr<CatalycityBase> GRINS::PowerLawCatalycityFactoryOldStyle::build_catalycity_old_style |
( |
const GetPot & |
input, |
|
|
const std::string & |
section, |
|
|
const std::string & |
reactant_str, |
|
|
const std::string & |
bc_id_string |
|
) |
| |
|
inlineprotectedvirtual |
Implements GRINS::CatalycityFactoryOldStyleBase.
Definition at line 109 of file catalycity_factories_old_style.h.
114 std::string gamma_str = section+
"/gamma0_"+reactant_str+
"_"+bc_id_string;
115 if( !input.have_variable(gamma_str) )
116 libmesh_error_msg(
"ERROR: Could not find input "+gamma_str+
" for PowerLawCatalycity!\n");
118 std::string Tref_str = section+
"/Tref_"+reactant_str+
"_"+bc_id_string;
119 if( !input.have_variable(Tref_str) )
120 libmesh_error_msg(
"ERROR: Could not find input "+Tref_str+
" for PowerLawCatalycity!\n");
122 std::string alpha_str = section+
"/alpha_"+reactant_str+
"_"+bc_id_string;
123 if( !input.have_variable(alpha_str) )
124 libmesh_error_msg(
"ERROR: Could not find input "+alpha_str+
" for PowerLawCatalycity!\n");
126 libMesh::Real gamma = input(gamma_str, std::numeric_limits<libMesh::Real>::max());
127 libMesh::Real Tref = input(Tref_str, std::numeric_limits<libMesh::Real>::max());
128 libMesh::Real alpha = input(alpha_str, std::numeric_limits<libMesh::Real>::max());
130 return libMesh::UniquePtr<CatalycityBase>(
new PowerLawCatalycity( gamma, Tref, alpha ) );
The documentation for this class was generated from the following file: