Compute element length in the direction of the solution gradient (cf. More...
#include <GradientElementLength.hpp>
Public Member Functions | |
GradientElementLength (const 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 > | unit_grad_ |
Input: unit scalar gradient. | |
PHX::MDField< MeshScalarT, Cell, Node, QuadPoint, Dim > | grad_bf_ |
Input: basis function gradients. | |
PHX::MDField< ScalarT, Cell, QuadPoint > | element_length_ |
Output: element length. | |
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. |
Compute element length in the direction of the solution gradient (cf.
Tezduyar and Park CMAME 1986).
Definition at line 24 of file GradientElementLength.hpp.
typedef EvalT::ScalarT LCM::GradientElementLength< EvalT, Traits >::ScalarT [private] |
Definition at line 48 of file GradientElementLength.hpp.
typedef EvalT::MeshScalarT LCM::GradientElementLength< EvalT, Traits >::MeshScalarT [private] |
Definition at line 49 of file GradientElementLength.hpp.
LCM::GradientElementLength< EvalT, Traits >::GradientElementLength | ( | const Teuchos::ParameterList & | p, | |
const Teuchos::RCP< Albany::Layouts > & | dl | |||
) |
Constructor.
Definition at line 15 of file GradientElementLength_Def.hpp.
void LCM::GradientElementLength< EvalT, Traits >::postRegistrationSetup | ( | typename Traits::SetupData | d, | |
PHX::FieldManager< Traits > & | vm | |||
) |
Phalanx method to allocate space.
Definition at line 37 of file GradientElementLength_Def.hpp.
void LCM::GradientElementLength< EvalT, Traits >::evaluateFields | ( | typename Traits::EvalData | d | ) |
Implementation of physics.
Definition at line 48 of file GradientElementLength_Def.hpp.
PHX::MDField<ScalarT,Cell,QuadPoint,Dim> LCM::GradientElementLength< EvalT, Traits >::unit_grad_ [private] |
Input: unit scalar gradient.
Definition at line 54 of file GradientElementLength.hpp.
PHX::MDField<MeshScalarT,Cell,Node,QuadPoint,Dim> LCM::GradientElementLength< EvalT, Traits >::grad_bf_ [private] |
Input: basis function gradients.
Definition at line 59 of file GradientElementLength.hpp.
PHX::MDField<ScalarT,Cell,QuadPoint> LCM::GradientElementLength< EvalT, Traits >::element_length_ [private] |
Output: element length.
Definition at line 64 of file GradientElementLength.hpp.
std::size_t LCM::GradientElementLength< EvalT, Traits >::num_nodes_ [private] |
Number of element nodes.
Definition at line 69 of file GradientElementLength.hpp.
std::size_t LCM::GradientElementLength< EvalT, Traits >::num_pts_ [private] |
Number of integration points.
Definition at line 74 of file GradientElementLength.hpp.
std::size_t LCM::GradientElementLength< EvalT, Traits >::num_dims_ [private] |
Number of spatial dimensions.
Definition at line 79 of file GradientElementLength.hpp.