#include <catalycity_factories_old_style.h>
|
static void | set_reactant (const std::string &reactant) |
|
static void | set_bc_id (const std::string &bc_id) |
|
static void | set_section (const std::string §ion) |
|
static void | set_getpot (const GetPot &input) |
|
static std::string | _reactant_str = std::string("DIE!") |
|
static std::string | _bc_id_str = std::string("DIE!") |
|
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...
|
|
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: