Constitutive Model Interface. More...
#include <ConstitutiveModelInterface.hpp>

Public Member Functions | |
| ConstitutiveModelInterface (Teuchos::ParameterList &p, const Teuchos::RCP< Albany::Layouts > &dl) | |
| Constructor. | |
| void | postRegistrationSetup (typename Traits::SetupData d, PHX::FieldManager< Traits > &vm) |
| Phalanx method to allocate space. | |
| void | evaluateFields (typename Traits::EvalData d) |
| Implementation of physics. | |
| void | fillStateVariableStruct (int state_var) |
| Populate the state variable registration struct. | |
| int | getNumStateVars () |
| Retrive the number of model state variables. | |
| void | initializeModel (Teuchos::ParameterList *p, const Teuchos::RCP< Albany::Layouts > &dl) |
| Initialization routine. | |
| std::string | getName () |
| Retrive SV name from the state variable registration struct. | |
| Teuchos::RCP< PHX::DataLayout > | getLayout () |
| Retrive SV layout from the state variable registration struct. | |
| std::string | getInitType () |
| Retrive SV init type from the state variable registration struct. | |
| double | getInitValue () |
| Retrive SV init value from the state variable registration struct. | |
| double | getStateFlag () |
| Retrive SV state flag from the state variable registration struct. | |
| double | getOutputFlag () |
| Retrive SV output flag from the state variable registration struct. | |
Private Types | |
| typedef EvalT::ScalarT | ScalarT |
| typedef EvalT::MeshScalarT | MeshScalarT |
Private Attributes | |
| std::map< std::string, Teuchos::RCP< PHX::MDField < ScalarT > > > | dep_fields_map_ |
| Dependent MDFields. | |
| std::map< std::string, Teuchos::RCP< PHX::MDField < ScalarT > > > | eval_fields_map_ |
| Evaluated MDFields. | |
| Teuchos::RCP < LCM::ConstitutiveModel < EvalT, Traits > > | model_ |
| Constitutive Model. | |
| StateVariableRegistrationStruct | sv_struct_ |
| State Variable Registration Struct. | |
| PHX::MDField< MeshScalarT, Cell, QuadPoint, Dim > | coord_vec_ |
| Optional field for integration point locations. | |
| PHX::MDField< ScalarT, Cell, QuadPoint > | temperature_ |
| Optional temperature field. | |
| PHX::MDField< ScalarT, Cell, QuadPoint > | damage_ |
| Optional damage field. | |
| PHX::MDField< MeshScalarT, Cell, QuadPoint > | weights_ |
| Optional Integration Weights. | |
| bool | have_temperature_ |
| flag to indicate we have temperature | |
| bool | have_damage_ |
| flag to indicate we have damage | |
| bool | volume_average_pressure_ |
| flag to volume average the pressure | |
Constitutive Model Interface.
Definition at line 33 of file ConstitutiveModelInterface.hpp.
typedef EvalT::ScalarT LCM::ConstitutiveModelInterface< EvalT, Traits >::ScalarT [private] |
Definition at line 103 of file ConstitutiveModelInterface.hpp.
typedef EvalT::MeshScalarT LCM::ConstitutiveModelInterface< EvalT, Traits >::MeshScalarT [private] |
Definition at line 104 of file ConstitutiveModelInterface.hpp.
| LCM::ConstitutiveModelInterface< EvalT, Traits >::ConstitutiveModelInterface | ( | Teuchos::ParameterList & | p, | |
| const Teuchos::RCP< Albany::Layouts > & | dl | |||
| ) |
Constructor.
Definition at line 38 of file ConstitutiveModelInterface_Def.hpp.
| void LCM::ConstitutiveModelInterface< EvalT, Traits >::postRegistrationSetup | ( | typename Traits::SetupData | d, | |
| PHX::FieldManager< Traits > & | vm | |||
| ) |
Phalanx method to allocate space.
Definition at line 126 of file ConstitutiveModelInterface_Def.hpp.
| void LCM::ConstitutiveModelInterface< EvalT, Traits >::evaluateFields | ( | typename Traits::EvalData | d | ) |
Implementation of physics.
Definition at line 176 of file ConstitutiveModelInterface_Def.hpp.
| void LCM::ConstitutiveModelInterface< EvalT, Traits >::fillStateVariableStruct | ( | int | state_var | ) |
Populate the state variable registration struct.
Definition at line 187 of file ConstitutiveModelInterface_Def.hpp.
| int LCM::ConstitutiveModelInterface< EvalT, Traits >::getNumStateVars | ( | ) | [inline] |
Retrive the number of model state variables.
Definition at line 63 of file ConstitutiveModelInterface.hpp.
| void LCM::ConstitutiveModelInterface< EvalT, Traits >::initializeModel | ( | Teuchos::ParameterList * | p, | |
| const Teuchos::RCP< Albany::Layouts > & | dl | |||
| ) |
Initialization routine.
Definition at line 200 of file ConstitutiveModelInterface_Def.hpp.
| std::string LCM::ConstitutiveModelInterface< EvalT, Traits >::getName | ( | ) | [inline] |
Retrive SV name from the state variable registration struct.
Definition at line 74 of file ConstitutiveModelInterface.hpp.
| Teuchos::RCP<PHX::DataLayout> LCM::ConstitutiveModelInterface< EvalT, Traits >::getLayout | ( | ) | [inline] |
Retrive SV layout from the state variable registration struct.
Definition at line 79 of file ConstitutiveModelInterface.hpp.
| std::string LCM::ConstitutiveModelInterface< EvalT, Traits >::getInitType | ( | ) | [inline] |
Retrive SV init type from the state variable registration struct.
Definition at line 84 of file ConstitutiveModelInterface.hpp.
| double LCM::ConstitutiveModelInterface< EvalT, Traits >::getInitValue | ( | ) | [inline] |
Retrive SV init value from the state variable registration struct.
Definition at line 89 of file ConstitutiveModelInterface.hpp.
| double LCM::ConstitutiveModelInterface< EvalT, Traits >::getStateFlag | ( | ) | [inline] |
Retrive SV state flag from the state variable registration struct.
Definition at line 94 of file ConstitutiveModelInterface.hpp.
| double LCM::ConstitutiveModelInterface< EvalT, Traits >::getOutputFlag | ( | ) | [inline] |
Retrive SV output flag from the state variable registration struct.
Definition at line 99 of file ConstitutiveModelInterface.hpp.
std::map<std::string, Teuchos::RCP<PHX::MDField<ScalarT> > > LCM::ConstitutiveModelInterface< EvalT, Traits >::dep_fields_map_ [private] |
Dependent MDFields.
Definition at line 109 of file ConstitutiveModelInterface.hpp.
std::map<std::string, Teuchos::RCP<PHX::MDField<ScalarT> > > LCM::ConstitutiveModelInterface< EvalT, Traits >::eval_fields_map_ [private] |
Evaluated MDFields.
Definition at line 114 of file ConstitutiveModelInterface.hpp.
Teuchos::RCP<LCM::ConstitutiveModel<EvalT,Traits> > LCM::ConstitutiveModelInterface< EvalT, Traits >::model_ [private] |
Constitutive Model.
Definition at line 119 of file ConstitutiveModelInterface.hpp.
StateVariableRegistrationStruct LCM::ConstitutiveModelInterface< EvalT, Traits >::sv_struct_ [private] |
State Variable Registration Struct.
Definition at line 124 of file ConstitutiveModelInterface.hpp.
PHX::MDField<MeshScalarT,Cell,QuadPoint,Dim> LCM::ConstitutiveModelInterface< EvalT, Traits >::coord_vec_ [private] |
Optional field for integration point locations.
Definition at line 129 of file ConstitutiveModelInterface.hpp.
PHX::MDField<ScalarT,Cell,QuadPoint> LCM::ConstitutiveModelInterface< EvalT, Traits >::temperature_ [private] |
Optional temperature field.
Definition at line 134 of file ConstitutiveModelInterface.hpp.
PHX::MDField<ScalarT,Cell,QuadPoint> LCM::ConstitutiveModelInterface< EvalT, Traits >::damage_ [private] |
Optional damage field.
Definition at line 139 of file ConstitutiveModelInterface.hpp.
PHX::MDField<MeshScalarT,Cell,QuadPoint> LCM::ConstitutiveModelInterface< EvalT, Traits >::weights_ [private] |
Optional Integration Weights.
Definition at line 144 of file ConstitutiveModelInterface.hpp.
bool LCM::ConstitutiveModelInterface< EvalT, Traits >::have_temperature_ [private] |
flag to indicate we have temperature
Definition at line 149 of file ConstitutiveModelInterface.hpp.
bool LCM::ConstitutiveModelInterface< EvalT, Traits >::have_damage_ [private] |
flag to indicate we have damage
Definition at line 154 of file ConstitutiveModelInterface.hpp.
bool LCM::ConstitutiveModelInterface< EvalT, Traits >::volume_average_pressure_ [private] |
flag to volume average the pressure
Definition at line 159 of file ConstitutiveModelInterface.hpp.
1.7.1