Public Types | Public Member Functions | Private Attributes

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

Evaluates a selecltion of Constitutive Model Parameters Either as a constant or a truncated KL expansion. More...

#include <ConstitutiveModelParameters.hpp>

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

List of all members.

Public Types

typedef EvalT::ScalarT ScalarT
typedef EvalT::MeshScalarT MeshScalarT

Public Member Functions

 ConstitutiveModelParameters (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.
ScalarTgetValue (const std::string &n)
 Sacado method to access parameter values.
void parseParameters (const std::string &n, Teuchos::ParameterList &pl, Teuchos::RCP< ParamLib > paramLib)
 Helper method to parse a parameter.

Private Attributes

std::size_t num_pts_
 Number of integration points.
std::size_t num_dims_
 Number of spatial dimensions.
PHX::MDField< MeshScalarT,
Cell, QuadPoint, Dim
coord_vec_
 spatial locations of integration points
PHX::MDField< ScalarT, Cell,
QuadPoint
elastic_mod_
 Constitutive Model Parameters.
PHX::MDField< ScalarT, Cell,
QuadPoint
poissons_ratio_
PHX::MDField< ScalarT, Cell,
QuadPoint
bulk_mod_
PHX::MDField< ScalarT, Cell,
QuadPoint
shear_mod_
PHX::MDField< ScalarT, Cell,
QuadPoint
yield_strength_
 Plasticity Parameters.
PHX::MDField< ScalarT, Cell,
QuadPoint
hardening_mod_
PHX::MDField< ScalarT, Cell,
QuadPoint
recovery_mod_
PHX::MDField< ScalarT, Cell,
QuadPoint
conc_eq_param_
 Concentration parameters.
PHX::MDField< ScalarT, Cell,
QuadPoint
diff_coeff_
PHX::MDField< ScalarT, Cell,
QuadPoint
thermal_cond_
 Thermal parameters.
std::map< std::string,
PHX::MDField< ScalarT, Cell,
QuadPoint > > 
field_map_
 map of strings to specify parameter names to MDFields
std::map< std::string, bool > is_constant_map_
 map of flags to specify if a parameter is constant
std::map< std::string, ScalarTconstant_value_map_
 map of strings to ScalarTs to specify constant values
bool have_temperature_
 Optional dependence on Temperature.
PHX::MDField< ScalarT, Cell,
QuadPoint
temperature_
std::map< std::string, RealTypedparam_dtemp_map_
std::map< std::string, RealTyperef_temp_map_
std::map< std::string, RealTypeideal_map_
std::map< std::string, RealTypepre_exp_map_
std::map< std::string, RealTypeexp_param_map_
std::map< std::string,
Teuchos::RCP
< Stokhos::KL::ExponentialRandomField
< MeshScalarT > > > 
exp_rf_kl_map_
 map of strings to exponential random fields
std::map< std::string,
Teuchos::Array< ScalarT > > 
rv_map_
 map of strings to Arrays of values of the random variables
const Teuchos::RCP
< Albany::Layouts > & 
dl_
 storing the DataLayouts

Detailed Description

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

Evaluates a selecltion of Constitutive Model Parameters Either as a constant or a truncated KL expansion.

Definition at line 28 of file ConstitutiveModelParameters.hpp.


Member Typedef Documentation

template<typename EvalT, typename Traits>
typedef EvalT::ScalarT LCM::ConstitutiveModelParameters< EvalT, Traits >::ScalarT

Definition at line 34 of file ConstitutiveModelParameters.hpp.

template<typename EvalT, typename Traits>
typedef EvalT::MeshScalarT LCM::ConstitutiveModelParameters< EvalT, Traits >::MeshScalarT

Definition at line 35 of file ConstitutiveModelParameters.hpp.


Constructor & Destructor Documentation

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

Constructor.

Definition at line 19 of file ConstitutiveModelParameters_Def.hpp.


Member Function Documentation

template<typename EvalT , typename Traits >
void LCM::ConstitutiveModelParameters< EvalT, Traits >::postRegistrationSetup ( typename Traits::SetupData  d,
PHX::FieldManager< Traits > &  vm 
)

Phalanx method to allocate space.

Definition at line 145 of file ConstitutiveModelParameters_Def.hpp.

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

Implementation of physics.

Definition at line 164 of file ConstitutiveModelParameters_Def.hpp.

template<typename EvalT , typename Traits >
ConstitutiveModelParameters< EvalT, Traits >::ScalarT & LCM::ConstitutiveModelParameters< EvalT, Traits >::getValue ( const std::string &  n  ) 

Sacado method to access parameter values.

Definition at line 205 of file ConstitutiveModelParameters_Def.hpp.

template<typename EvalT , typename Traits >
void LCM::ConstitutiveModelParameters< EvalT, Traits >::parseParameters ( const std::string &  n,
Teuchos::ParameterList &  pl,
Teuchos::RCP< ParamLib paramLib 
)

Helper method to parse a parameter.

Definition at line 224 of file ConstitutiveModelParameters_Def.hpp.


Member Data Documentation

template<typename EvalT, typename Traits>
std::size_t LCM::ConstitutiveModelParameters< EvalT, Traits >::num_pts_ [private]

Number of integration points.

Definition at line 71 of file ConstitutiveModelParameters.hpp.

template<typename EvalT, typename Traits>
std::size_t LCM::ConstitutiveModelParameters< EvalT, Traits >::num_dims_ [private]

Number of spatial dimensions.

Definition at line 76 of file ConstitutiveModelParameters.hpp.

template<typename EvalT, typename Traits>
PHX::MDField<MeshScalarT,Cell,QuadPoint,Dim> LCM::ConstitutiveModelParameters< EvalT, Traits >::coord_vec_ [private]

spatial locations of integration points

Definition at line 81 of file ConstitutiveModelParameters.hpp.

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

Constitutive Model Parameters.

Elastic Moduli

Definition at line 87 of file ConstitutiveModelParameters.hpp.

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

Definition at line 88 of file ConstitutiveModelParameters.hpp.

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

Definition at line 89 of file ConstitutiveModelParameters.hpp.

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

Definition at line 90 of file ConstitutiveModelParameters.hpp.

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

Plasticity Parameters.

Definition at line 92 of file ConstitutiveModelParameters.hpp.

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

Definition at line 93 of file ConstitutiveModelParameters.hpp.

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

Definition at line 94 of file ConstitutiveModelParameters.hpp.

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

Concentration parameters.

Definition at line 96 of file ConstitutiveModelParameters.hpp.

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

Definition at line 97 of file ConstitutiveModelParameters.hpp.

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

Thermal parameters.

Definition at line 99 of file ConstitutiveModelParameters.hpp.

template<typename EvalT, typename Traits>
std::map<std::string, PHX::MDField<ScalarT,Cell,QuadPoint> > LCM::ConstitutiveModelParameters< EvalT, Traits >::field_map_ [private]

map of strings to specify parameter names to MDFields

Definition at line 104 of file ConstitutiveModelParameters.hpp.

template<typename EvalT, typename Traits>
std::map<std::string, bool> LCM::ConstitutiveModelParameters< EvalT, Traits >::is_constant_map_ [private]

map of flags to specify if a parameter is constant

Definition at line 109 of file ConstitutiveModelParameters.hpp.

template<typename EvalT, typename Traits>
std::map<std::string, ScalarT> LCM::ConstitutiveModelParameters< EvalT, Traits >::constant_value_map_ [private]

map of strings to ScalarTs to specify constant values

Definition at line 114 of file ConstitutiveModelParameters.hpp.

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

Optional dependence on Temperature.

Definition at line 119 of file ConstitutiveModelParameters.hpp.

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

Definition at line 120 of file ConstitutiveModelParameters.hpp.

template<typename EvalT, typename Traits>
std::map<std::string, RealType> LCM::ConstitutiveModelParameters< EvalT, Traits >::dparam_dtemp_map_ [private]

Definition at line 121 of file ConstitutiveModelParameters.hpp.

template<typename EvalT, typename Traits>
std::map<std::string, RealType> LCM::ConstitutiveModelParameters< EvalT, Traits >::ref_temp_map_ [private]

Definition at line 122 of file ConstitutiveModelParameters.hpp.

template<typename EvalT, typename Traits>
std::map<std::string, RealType> LCM::ConstitutiveModelParameters< EvalT, Traits >::ideal_map_ [private]

Definition at line 123 of file ConstitutiveModelParameters.hpp.

template<typename EvalT, typename Traits>
std::map<std::string, RealType> LCM::ConstitutiveModelParameters< EvalT, Traits >::pre_exp_map_ [private]

Definition at line 124 of file ConstitutiveModelParameters.hpp.

template<typename EvalT, typename Traits>
std::map<std::string, RealType> LCM::ConstitutiveModelParameters< EvalT, Traits >::exp_param_map_ [private]

Definition at line 125 of file ConstitutiveModelParameters.hpp.

template<typename EvalT, typename Traits>
std::map<std::string, Teuchos::RCP< Stokhos::KL::ExponentialRandomField<MeshScalarT> > > LCM::ConstitutiveModelParameters< EvalT, Traits >::exp_rf_kl_map_ [private]

map of strings to exponential random fields

Definition at line 128 of file ConstitutiveModelParameters.hpp.

template<typename EvalT, typename Traits>
std::map<std::string, Teuchos::Array<ScalarT> > LCM::ConstitutiveModelParameters< EvalT, Traits >::rv_map_ [private]

map of strings to Arrays of values of the random variables

Definition at line 131 of file ConstitutiveModelParameters.hpp.

template<typename EvalT, typename Traits>
const Teuchos::RCP<Albany::Layouts>& LCM::ConstitutiveModelParameters< EvalT, Traits >::dl_ [private]

storing the DataLayouts

Definition at line 134 of file ConstitutiveModelParameters.hpp.


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