#include <catalycity_factories.h>
Definition at line 69 of file catalycity_factories.h.
GRINS::ArrheniusCatalycityFactory::ArrheniusCatalycityFactory |
( |
const std::string & |
physics_name | ) |
|
|
inline |
GRINS::ArrheniusCatalycityFactory::~ArrheniusCatalycityFactory |
( |
| ) |
|
|
inline |
virtual libMesh::UniquePtr<CatalycityBase> GRINS::ArrheniusCatalycityFactory::build_catalycity |
( |
const GetPot & |
input, |
|
|
const std::string & |
section |
|
) |
| |
|
inlineprotectedvirtual |
Implements GRINS::CatalycityFactoryAbstract.
Definition at line 82 of file catalycity_factories.h.
84 std::string param_base = section+
"/ArrheniusCatalycity/";
86 std::string gamma_str = param_base+
"gamma0";
87 if( !input.have_variable(gamma_str) )
88 libmesh_error_msg(
"ERROR: Could not find input "+gamma_str+
" for ArrheniusCatalycity!\n");
90 std::string Ta_str = param_base+
"Ta";
91 if( !input.have_variable(Ta_str) )
92 libmesh_error_msg(
"ERROR: Could not find input "+Ta_str+
" for ArrheniusCatalycity!\n");
94 libMesh::Real gamma = input(gamma_str, std::numeric_limits<libMesh::Real>::max());
95 libMesh::Real Ta = input(Ta_str, std::numeric_limits<libMesh::Real>::max());
97 libMesh::UniquePtr<CatalycityBase> catalycity(
new ArrheniusCatalycity( gamma, Ta ) );
98 catalycity->set_parameters(input,param_base);
The documentation for this class was generated from the following file: