Kinematics Evaluator. More...
#include <Kinematics.hpp>
Public Member Functions | |
Kinematics (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. | |
Private Types | |
typedef EvalT::ScalarT | ScalarT |
typedef EvalT::MeshScalarT | MeshScalarT |
Private Attributes | |
PHX::MDField< ScalarT, Cell, QuadPoint, Dim, Dim > | grad_u_ |
Input: displacement gradient. | |
PHX::MDField< MeshScalarT, Cell, QuadPoint > | weights_ |
Input: integration weights. | |
PHX::MDField< ScalarT, Cell, QuadPoint, Dim, Dim > | def_grad_ |
Output: deformation gradient. | |
PHX::MDField< ScalarT, Cell, QuadPoint > | j_ |
Output: determinant of the deformation gradient. | |
PHX::MDField< ScalarT, Cell, QuadPoint, Dim, Dim > | vel_grad_ |
Output: velocity gradient. | |
PHX::MDField< ScalarT, Cell, QuadPoint, Dim, Dim > | strain_ |
Output: strain. | |
std::size_t | num_pts_ |
number of integration points | |
std::size_t | num_dims_ |
number of spatial dimensions | |
bool | weighted_average_ |
flag to compute the weighted average of J | |
ScalarT | alpha_ |
stabilization parameter for the weighted average | |
bool | needs_vel_grad_ |
flag to compute the velocity Gradient | |
bool | needs_strain_ |
flag to compute the strain |
Kinematics Evaluator.
This evaluator computes kinematics quantities i.e. Deformation Gradient (optional) Velocity Gradient (optional) Strain
Definition at line 27 of file Kinematics.hpp.
typedef EvalT::ScalarT LCM::Kinematics< EvalT, Traits >::ScalarT [private] |
Definition at line 51 of file Kinematics.hpp.
typedef EvalT::MeshScalarT LCM::Kinematics< EvalT, Traits >::MeshScalarT [private] |
Definition at line 52 of file Kinematics.hpp.
LCM::Kinematics< EvalT, Traits >::Kinematics | ( | Teuchos::ParameterList & | p, | |
const Teuchos::RCP< Albany::Layouts > & | dl | |||
) |
Constructor.
Definition at line 19 of file Kinematics_Def.hpp.
void LCM::Kinematics< EvalT, Traits >::postRegistrationSetup | ( | typename Traits::SetupData | d, | |
PHX::FieldManager< Traits > & | vm | |||
) |
Phalanx method to allocate space.
Definition at line 65 of file Kinematics_Def.hpp.
void LCM::Kinematics< EvalT, Traits >::evaluateFields | ( | typename Traits::EvalData | d | ) |
Implementation of physics.
Definition at line 79 of file Kinematics_Def.hpp.
PHX::MDField<ScalarT,Cell,QuadPoint,Dim,Dim> LCM::Kinematics< EvalT, Traits >::grad_u_ [private] |
Input: displacement gradient.
Definition at line 55 of file Kinematics.hpp.
PHX::MDField<MeshScalarT,Cell,QuadPoint> LCM::Kinematics< EvalT, Traits >::weights_ [private] |
Input: integration weights.
Definition at line 58 of file Kinematics.hpp.
PHX::MDField<ScalarT,Cell,QuadPoint,Dim,Dim> LCM::Kinematics< EvalT, Traits >::def_grad_ [private] |
Output: deformation gradient.
Definition at line 61 of file Kinematics.hpp.
PHX::MDField<ScalarT,Cell,QuadPoint> LCM::Kinematics< EvalT, Traits >::j_ [private] |
Output: determinant of the deformation gradient.
Definition at line 64 of file Kinematics.hpp.
PHX::MDField<ScalarT,Cell,QuadPoint,Dim,Dim> LCM::Kinematics< EvalT, Traits >::vel_grad_ [private] |
Output: velocity gradient.
Definition at line 67 of file Kinematics.hpp.
PHX::MDField<ScalarT,Cell,QuadPoint,Dim,Dim> LCM::Kinematics< EvalT, Traits >::strain_ [private] |
Output: strain.
Definition at line 70 of file Kinematics.hpp.
std::size_t LCM::Kinematics< EvalT, Traits >::num_pts_ [private] |
number of integration points
Definition at line 73 of file Kinematics.hpp.
std::size_t LCM::Kinematics< EvalT, Traits >::num_dims_ [private] |
number of spatial dimensions
Definition at line 76 of file Kinematics.hpp.
bool LCM::Kinematics< EvalT, Traits >::weighted_average_ [private] |
flag to compute the weighted average of J
Definition at line 79 of file Kinematics.hpp.
ScalarT LCM::Kinematics< EvalT, Traits >::alpha_ [private] |
stabilization parameter for the weighted average
Definition at line 82 of file Kinematics.hpp.
bool LCM::Kinematics< EvalT, Traits >::needs_vel_grad_ [private] |
flag to compute the velocity Gradient
Definition at line 85 of file Kinematics.hpp.
bool LCM::Kinematics< EvalT, Traits >::needs_strain_ [private] |
flag to compute the strain
Definition at line 88 of file Kinematics.hpp.