#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 39 of file catalycity_factories.h.
GRINS::ConstantCatalycityFactory::ConstantCatalycityFactory |
( |
const std::string & |
physics_name | ) |
|
|
inline |
GRINS::ConstantCatalycityFactory::~ConstantCatalycityFactory |
( |
| ) |
|
|
inline |
virtual libMesh::UniquePtr<CatalycityBase> GRINS::ConstantCatalycityFactory::build_catalycity |
( |
const GetPot & |
input, |
|
|
const std::string & |
section |
|
) |
| |
|
inlineprotectedvirtual |
Implements GRINS::CatalycityFactoryAbstract.
Definition at line 52 of file catalycity_factories.h.
54 std::string gamma_str = section+
"/ConstantCatalycity/gamma";
56 if( !input.have_variable(gamma_str) )
57 libmesh_error_msg(
"ERROR: Could not find input "+gamma_str+
" for ConstantCatalycity!\n");
59 libMesh::Real gamma = input(gamma_str, std::numeric_limits<libMesh::Real>::max());
60 return libMesh::UniquePtr<CatalycityBase>(
new ConstantCatalycity( gamma ) );
The documentation for this class was generated from the following file: