#include <catalycity_factories_old_style.h>
GRINS::ArrheniusCatalycityFactoryOldStyle::ArrheniusCatalycityFactoryOldStyle |
( |
const std::string & |
physics_name | ) |
|
|
inline |
GRINS::ArrheniusCatalycityFactoryOldStyle::~ArrheniusCatalycityFactoryOldStyle |
( |
| ) |
|
|
inline |
virtual libMesh::UniquePtr<CatalycityBase> GRINS::ArrheniusCatalycityFactoryOldStyle::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 77 of file catalycity_factories_old_style.h.
82 std::string gamma_str = section+
"/gamma0_"+reactant_str+
"_"+bc_id_string;
83 if( !input.have_variable(gamma_str) )
84 libmesh_error_msg(
"ERROR: Could not find input "+gamma_str+
" for ArrheniusCatalycity!\n");
86 std::string Ta_str = section+
"/Ta_"+reactant_str+
"_"+bc_id_string;
87 if( !input.have_variable(Ta_str) )
88 libmesh_error_msg(
"ERROR: Could not find input "+Ta_str+
" for ArrheniusCatalycity!\n");
90 libMesh::Real gamma = input(gamma_str, std::numeric_limits<libMesh::Real>::max());
91 libMesh::Real Ta = input(Ta_str, std::numeric_limits<libMesh::Real>::max());
93 return libMesh::UniquePtr<CatalycityBase>(
new ArrheniusCatalycity( gamma, Ta ) );
The documentation for this class was generated from the following file: