#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::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: