25 #ifndef GRINS_CATALYCITY_FACTORIES_H 
   26 #define GRINS_CATALYCITY_FACTORIES_H 
   51     virtual libMesh::UniquePtr<CatalycityBase>
 
   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());
 
   78     virtual libMesh::UniquePtr<CatalycityBase>
 
   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());
 
  109     virtual libMesh::UniquePtr<CatalycityBase>
 
  112       std::string gamma_str = section+
"/PowerLawCatalycity/gamma0";
 
  113       if( !input.have_variable(gamma_str) )
 
  114         libmesh_error_msg(
"ERROR: Could not find input "+gamma_str+
" for ArrheniusCatalycity!\n");
 
  116       std::string Tref_str = section+
"/PowerLawCatalycity/Tref";
 
  117       if( !input.have_variable(Tref_str) )
 
  118         libmesh_error_msg(
"ERROR: Could not find input "+Tref_str+
" for PowerLawCatalycity!\n");
 
  120       std::string alpha_str = section+
"/PowerLawCatalycity/alpha";
 
  121       if( !input.have_variable(alpha_str) )
 
  122         libmesh_error_msg(
"ERROR: Could not find input "+alpha_str+
" for PowerLawCatalycity!\n");
 
  124       libMesh::Real gamma = input(gamma_str, std::numeric_limits<libMesh::Real>::max());
 
  125       libMesh::Real Tref = input(Tref_str, std::numeric_limits<libMesh::Real>::max());
 
  126       libMesh::Real alpha = input(alpha_str, std::numeric_limits<libMesh::Real>::max());
 
  128       return libMesh::UniquePtr<CatalycityBase>( 
new PowerLawCatalycity( gamma, Tref, alpha ) );
 
  135 #endif // GRINS_CATALYCITY_FACTORIES_H 
~PowerLawCatalycityFactory()
 
PowerLawCatalycityFactory(const std::string &physics_name)
 
virtual libMesh::UniquePtr< CatalycityBase > build_catalycity(const GetPot &input, const std::string §ion)
 
~ConstantCatalycityFactory()
 
virtual libMesh::UniquePtr< CatalycityBase > build_catalycity(const GetPot &input, const std::string §ion)
 
ArrheniusCatalycityFactory(const std::string &physics_name)
 
ConstantCatalycityFactory(const std::string &physics_name)
 
virtual libMesh::UniquePtr< CatalycityBase > build_catalycity(const GetPot &input, const std::string §ion)
 
~ArrheniusCatalycityFactory()