Public Member Functions | Private Types | Private Attributes

LCM::ConstitutiveModelInterface< EvalT, Traits > Class Template Reference

Constitutive Model Interface. More...

#include <ConstitutiveModelInterface.hpp>

Collaboration diagram for LCM::ConstitutiveModelInterface< EvalT, Traits >:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

template<typename EvalT, typename Traits>
class LCM::ConstitutiveModelInterface< EvalT, Traits >

Constitutive Model Interface.

Definition at line 33 of file ConstitutiveModelInterface.hpp.


Member Typedef Documentation

template<typename EvalT , typename Traits >
typedef EvalT::ScalarT LCM::ConstitutiveModelInterface< EvalT, Traits >::ScalarT [private]

Definition at line 103 of file ConstitutiveModelInterface.hpp.

template<typename EvalT , typename Traits >
typedef EvalT::MeshScalarT LCM::ConstitutiveModelInterface< EvalT, Traits >::MeshScalarT [private]

Definition at line 104 of file ConstitutiveModelInterface.hpp.


Constructor & Destructor Documentation

template<typename EvalT , typename Traits >
LCM::ConstitutiveModelInterface< EvalT, Traits >::ConstitutiveModelInterface ( Teuchos::ParameterList &  p,
const Teuchos::RCP< Albany::Layouts > &  dl 
)

Constructor.

Definition at line 38 of file ConstitutiveModelInterface_Def.hpp.


Member Function Documentation

template<typename EvalT , typename Traits >
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.

template<typename EvalT , typename Traits >
void LCM::ConstitutiveModelInterface< EvalT, Traits >::evaluateFields ( typename Traits::EvalData  d  ) 

Implementation of physics.

Definition at line 176 of file ConstitutiveModelInterface_Def.hpp.

template<typename EvalT , typename Traits >
void LCM::ConstitutiveModelInterface< EvalT, Traits >::fillStateVariableStruct ( int  state_var  ) 

Populate the state variable registration struct.

Definition at line 187 of file ConstitutiveModelInterface_Def.hpp.

template<typename EvalT , typename Traits >
int LCM::ConstitutiveModelInterface< EvalT, Traits >::getNumStateVars (  )  [inline]

Retrive the number of model state variables.

Definition at line 63 of file ConstitutiveModelInterface.hpp.

template<typename EvalT , typename Traits >
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.

template<typename EvalT , typename Traits >
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.

template<typename EvalT , typename Traits >
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.

template<typename EvalT , typename Traits >
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.

template<typename EvalT , typename Traits >
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.

template<typename EvalT , typename Traits >
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.

template<typename EvalT , typename Traits >
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.


Member Data Documentation

template<typename EvalT , typename Traits >
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.

template<typename EvalT , typename Traits >
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.

template<typename EvalT , typename Traits >
Teuchos::RCP<LCM::ConstitutiveModel<EvalT,Traits> > LCM::ConstitutiveModelInterface< EvalT, Traits >::model_ [private]

Constitutive Model.

Definition at line 119 of file ConstitutiveModelInterface.hpp.

template<typename EvalT , typename Traits >
StateVariableRegistrationStruct LCM::ConstitutiveModelInterface< EvalT, Traits >::sv_struct_ [private]

State Variable Registration Struct.

Definition at line 124 of file ConstitutiveModelInterface.hpp.

template<typename EvalT , typename Traits >
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.

template<typename EvalT , typename Traits >
PHX::MDField<ScalarT,Cell,QuadPoint> LCM::ConstitutiveModelInterface< EvalT, Traits >::temperature_ [private]

Optional temperature field.

Definition at line 134 of file ConstitutiveModelInterface.hpp.

template<typename EvalT , typename Traits >
PHX::MDField<ScalarT,Cell,QuadPoint> LCM::ConstitutiveModelInterface< EvalT, Traits >::damage_ [private]

Optional damage field.

Definition at line 139 of file ConstitutiveModelInterface.hpp.

template<typename EvalT , typename Traits >
PHX::MDField<MeshScalarT,Cell,QuadPoint> LCM::ConstitutiveModelInterface< EvalT, Traits >::weights_ [private]

Optional Integration Weights.

Definition at line 144 of file ConstitutiveModelInterface.hpp.

template<typename EvalT , typename Traits >
bool LCM::ConstitutiveModelInterface< EvalT, Traits >::have_temperature_ [private]

flag to indicate we have temperature

Definition at line 149 of file ConstitutiveModelInterface.hpp.

template<typename EvalT , typename Traits >
bool LCM::ConstitutiveModelInterface< EvalT, Traits >::have_damage_ [private]

flag to indicate we have damage

Definition at line 154 of file ConstitutiveModelInterface.hpp.

template<typename EvalT , typename Traits >
bool LCM::ConstitutiveModelInterface< EvalT, Traits >::volume_average_pressure_ [private]

flag to volume average the pressure

Definition at line 159 of file ConstitutiveModelInterface.hpp.


The documentation for this class was generated from the following files: