34 #include "libmesh/getpot.h" 
   41     std::set<std::string> requested_physics;
 
   50     for( std::set<std::string>::const_iterator physics_name_it = requested_physics.begin();
 
   51          physics_name_it != requested_physics.end();
 
   55         std::string physics_name = *physics_name_it;
 
   69         libMesh::UniquePtr<Physics> physics_ptr = PhysicsFactoryBase::build(physics_name_prefix);
 
   75         physics_map[physics_name] = SharedPtr<Physics>( physics_ptr.release() );
 
   79     if( input( 
"screen-options/echo_physics", 
true ) )
 
   81         libMesh::out << 
"==========================================================" << std::endl
 
   82                      << 
"List of Enabled Physics:" << std::endl;
 
   85              it != physics_map.end();
 
   88             libMesh::out << it->first << std::endl;
 
   90         libMesh::out <<  
"==========================================================" << std::endl;
 
   98     int num_physics =  input.vector_variable_size(
"Physics/enabled_physics");
 
  100     if( num_physics < 1 )
 
  101       libmesh_error_msg(
"Error: Must enable at least one physics model!");
 
  103     for( 
int i = 0; i < num_physics; i++ )
 
  104       requested_physics.insert( input(
"Physics/enabled_physics", 
"NULL", i ) );
 
static PhysicsList build_physics_map(const GetPot &input)
Returns container of constructed Physics objects. 
 
static void set_getpot(const GetPot &input)
 
static void parse_requested_physics(const GetPot &input, std::set< std::string > &requested_physics)
Parses the requested Physics from input and populates the set passed to this function. 
 
static std::string extract_physics(const std::string &full_name)
Extract the physics name from the full_name. 
 
static void set_physics_name(const std::string &physics_name)
Setter for physics name. 
 
std::map< std::string, SharedPtr< GRINS::Physics > > PhysicsList
Container for GRINS::Physics object pointers. 
 
static std::string extract_suffix(const std::string &full_name)
Extract the suffix from the full_name. 
 
std::map< std::string, SharedPtr< GRINS::Physics > >::const_iterator PhysicsListIter
Iterator for PhysicsList. 
 
static void clear_suffix()
 
static void set_suffix(const std::string &suff)