31 const std::string& core_physics_name )
42 libmesh_error_msg(
"ERROR: Could not find core_physics associated with "+physics_name_stripped+
"!");
44 std::string core_physics_no_suffix = this->
core_physics_names().find(physics_name_stripped)->second;
54 static std::map<std::string,std::string> _core_physics_names;
55 return _core_physics_names;
Builds Physics objects, used by PhysicsBuilder.
static std::string extract_physics(const std::string &full_name)
Extract the physics name from the full_name.
PhysicsFactoryWithCore(const std::string &physics_name, const std::string &core_physics_name)
static std::map< std::string, std::string > & core_physics_names()
Cache for "core" physics names.
std::string find_core_physics_name(const std::string &physics_name)
static std::string extract_suffix(const std::string &full_name)
Extract the suffix from the full_name.