#include <catalycity_factories.h>
|
static void | set_section (const std::string §ion) |
|
static void | set_getpot (const GetPot &input) |
|
static std::string | _section = std::string("DIE!") |
|
static const GetPot * | _input |
| We store only a raw pointer here because we can't make a copy. More...
|
|
Definition at line 66 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 79 of file catalycity_factories.h.
81 std::string gamma_str = section+
"/ArrheniusCatalycity/gamma0";
82 if( !input.have_variable(gamma_str) )
83 libmesh_error_msg(
"ERROR: Could not find input "+gamma_str+
" for ArrheniusCatalycity!\n");
85 std::string Ta_str = section+
"/ArrheniusCatalycity/Ta";
86 if( !input.have_variable(Ta_str) )
87 libmesh_error_msg(
"ERROR: Could not find input "+Ta_str+
" for ArrheniusCatalycity!\n");
89 libMesh::Real gamma = input(gamma_str, std::numeric_limits<libMesh::Real>::max());
90 libMesh::Real Ta = input(Ta_str, std::numeric_limits<libMesh::Real>::max());
92 return libMesh::UniquePtr<CatalycityBase>(
new ArrheniusCatalycity( gamma, Ta ) );
The documentation for this class was generated from the following file: