#include <physics_factory_plane_stress_solids.h>
template<template< typename > class DerivedPhysics>
class GRINS::PhysicsFactoryPlaneStressSolids< DerivedPhysics >
Definition at line 34 of file physics_factory_plane_stress_solids.h.
 
template<template< typename > class DerivedPhysics> 
 
 
template<template< typename > class DerivedPhysics> 
 
 
template<template< typename > class DerivedPhysics> 
 
Implements GRINS::PhysicsFactoryBase.
Definition at line 42 of file physics_factory_plane_stress_solids.C.
References GRINS::PhysicsFactoryHelper::parse_stress_strain_model().
   47     std::string model = 
"none";
 
   48     std::string strain_energy = 
"none";
 
   55     libMesh::UniquePtr<Physics> new_physics;
 
   57     if( model == std::string(
"hookes_law") )
 
   58       new_physics.reset( 
new DerivedPhysics<HookesLaw>
 
   59                          (physics_name,input, 
false ) );
 
   61     else if( model == std::string(
"incompressible_hyperelasticity") )
 
   63         if( strain_energy == std::string(
"mooney_rivlin") )
 
   65             new_physics.reset( 
new DerivedPhysics<IncompressiblePlaneStressHyperelasticity<MooneyRivlin> >(physics_name,input,
false ) );
 
   69             std::string error = 
"ERROR: Invalid strain_energy "+strain_energy+
"!\n";
 
   70             error += 
"       Valid values are: mooney_rivlin\n";
 
   71             libmesh_error_msg(error);
 
   77         std::string error = 
"Error: Invalid stress-strain model: "+model+
"!\n";
 
   78         error += 
"       Valid values are: hookes_law\n";
 
   79         error += 
"                         incompressible_hyperelasticity\n";
 
   80         libmesh_error_msg(error);
 
   83     libmesh_assert(new_physics);
 
std::string find_core_physics_name(const std::string &physics_name)
 
static void parse_stress_strain_model(const GetPot &input, const std::string &physics, std::string &model, std::string &strain_energy)
Determine stress-strain law used by solid mechanics classes. 
 
 
 
 
The documentation for this class was generated from the following files: