Mechanics Residual. More...
#include <MechanicsResidual.hpp>
Public Types | |
typedef EvalT::ScalarT | ScalarT |
typedef EvalT::MeshScalarT | MeshScalarT |
Public Member Functions | |
MechanicsResidual (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 Attributes | |
PHX::MDField< ScalarT, Cell, QuadPoint, Dim, Dim > | stress_ |
Input: Cauchy Stress. | |
PHX::MDField< MeshScalarT, Cell, Node, QuadPoint, Dim > | w_grad_bf_ |
Input: Weighted Basis Function Gradients. | |
PHX::MDField< MeshScalarT, Cell, Node, QuadPoint > | w_bf_ |
Input: Weighted Basis Functions. | |
PHX::MDField< ScalarT, Cell, QuadPoint, Dim > | body_force_ |
Input: body force vector. | |
PHX::MDField< ScalarT, Cell, QuadPoint, Dim > | acceleration_ |
Input: acceleration. | |
PHX::MDField< ScalarT, Cell, Node, Dim > | residual_ |
Output: Residual Forces. | |
std::size_t | num_nodes_ |
Number of element nodes. | |
std::size_t | num_pts_ |
Number of integration points. | |
std::size_t | num_dims_ |
Number of spatial dimensions. | |
bool | have_body_force_ |
Body force flag. | |
RealType | density_ |
Density. | |
bool | enable_dynamics_ |
Dynamics flag. |
Mechanics Residual.
This evaluator computes the residual due to the balance of linear momentum for infinitesimal and finite deformation, with or without dynamics
Definition at line 27 of file MechanicsResidual.hpp.
typedef EvalT::ScalarT LCM::MechanicsResidual< EvalT, Traits >::ScalarT |
Definition at line 34 of file MechanicsResidual.hpp.
typedef EvalT::MeshScalarT LCM::MechanicsResidual< EvalT, Traits >::MeshScalarT |
Definition at line 35 of file MechanicsResidual.hpp.
LCM::MechanicsResidual< EvalT, Traits >::MechanicsResidual | ( | Teuchos::ParameterList & | p, | |
const Teuchos::RCP< Albany::Layouts > & | dl | |||
) |
Constructor.
Definition at line 18 of file MechanicsResidual_Def.hpp.
void LCM::MechanicsResidual< EvalT, Traits >::postRegistrationSetup | ( | typename Traits::SetupData | d, | |
PHX::FieldManager< Traits > & | vm | |||
) |
Phalanx method to allocate space.
Definition at line 68 of file MechanicsResidual_Def.hpp.
void LCM::MechanicsResidual< EvalT, Traits >::evaluateFields | ( | typename Traits::EvalData | d | ) |
Implementation of physics.
Definition at line 86 of file MechanicsResidual_Def.hpp.
PHX::MDField<ScalarT, Cell, QuadPoint, Dim, Dim> LCM::MechanicsResidual< EvalT, Traits >::stress_ [private] |
Input: Cauchy Stress.
Definition at line 61 of file MechanicsResidual.hpp.
PHX::MDField<MeshScalarT, Cell, Node, QuadPoint, Dim> LCM::MechanicsResidual< EvalT, Traits >::w_grad_bf_ [private] |
Input: Weighted Basis Function Gradients.
Definition at line 66 of file MechanicsResidual.hpp.
PHX::MDField<MeshScalarT, Cell, Node, QuadPoint> LCM::MechanicsResidual< EvalT, Traits >::w_bf_ [private] |
Input: Weighted Basis Functions.
Definition at line 71 of file MechanicsResidual.hpp.
PHX::MDField<ScalarT, Cell, QuadPoint, Dim> LCM::MechanicsResidual< EvalT, Traits >::body_force_ [private] |
Input: body force vector.
Definition at line 76 of file MechanicsResidual.hpp.
PHX::MDField<ScalarT, Cell, QuadPoint, Dim> LCM::MechanicsResidual< EvalT, Traits >::acceleration_ [private] |
Input: acceleration.
Definition at line 81 of file MechanicsResidual.hpp.
PHX::MDField<ScalarT, Cell, Node, Dim> LCM::MechanicsResidual< EvalT, Traits >::residual_ [private] |
Output: Residual Forces.
Definition at line 86 of file MechanicsResidual.hpp.
std::size_t LCM::MechanicsResidual< EvalT, Traits >::num_nodes_ [private] |
Number of element nodes.
Definition at line 91 of file MechanicsResidual.hpp.
std::size_t LCM::MechanicsResidual< EvalT, Traits >::num_pts_ [private] |
Number of integration points.
Definition at line 96 of file MechanicsResidual.hpp.
std::size_t LCM::MechanicsResidual< EvalT, Traits >::num_dims_ [private] |
Number of spatial dimensions.
Definition at line 101 of file MechanicsResidual.hpp.
bool LCM::MechanicsResidual< EvalT, Traits >::have_body_force_ [private] |
Body force flag.
Definition at line 106 of file MechanicsResidual.hpp.
RealType LCM::MechanicsResidual< EvalT, Traits >::density_ [private] |
Density.
Definition at line 111 of file MechanicsResidual.hpp.
bool LCM::MechanicsResidual< EvalT, Traits >::enable_dynamics_ [private] |
Dynamics flag.
Definition at line 116 of file MechanicsResidual.hpp.