Compute solution gradient unit vector. More...
#include <UnitGradient.hpp>
Public Member Functions | |
UnitGradient (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 > | scalar_grad_ |
Input: scalar gradient. | |
PHX::MDField< ScalarT, Cell, QuadPoint, Dim > | unit_grad_ |
Output: unit scalar gradient. | |
std::size_t | num_pts_ |
Number of integration points. | |
std::size_t | num_dims_ |
Number of spatial dimensions. |
Compute solution gradient unit vector.
Definition at line 23 of file UnitGradient.hpp.
typedef EvalT::ScalarT LCM::UnitGradient< EvalT, Traits >::ScalarT [private] |
Definition at line 47 of file UnitGradient.hpp.
typedef EvalT::MeshScalarT LCM::UnitGradient< EvalT, Traits >::MeshScalarT [private] |
Definition at line 48 of file UnitGradient.hpp.
LCM::UnitGradient< EvalT, Traits >::UnitGradient | ( | const Teuchos::ParameterList & | p, | |
const Teuchos::RCP< Albany::Layouts > & | dl | |||
) |
Constructor.
Definition at line 16 of file UnitGradient_Def.hpp.
void LCM::UnitGradient< EvalT, Traits >::postRegistrationSetup | ( | typename Traits::SetupData | d, | |
PHX::FieldManager< Traits > & | vm | |||
) |
Phalanx method to allocate space.
Definition at line 34 of file UnitGradient_Def.hpp.
void LCM::UnitGradient< EvalT, Traits >::evaluateFields | ( | typename Traits::EvalData | d | ) |
Implementation of physics.
Definition at line 44 of file UnitGradient_Def.hpp.
PHX::MDField<ScalarT,Cell,QuadPoint,Dim> LCM::UnitGradient< EvalT, Traits >::scalar_grad_ [private] |
Input: scalar gradient.
Definition at line 53 of file UnitGradient.hpp.
PHX::MDField<ScalarT,Cell,QuadPoint,Dim> LCM::UnitGradient< EvalT, Traits >::unit_grad_ [private] |
Output: unit scalar gradient.
Definition at line 58 of file UnitGradient.hpp.
std::size_t LCM::UnitGradient< EvalT, Traits >::num_pts_ [private] |
Number of integration points.
Definition at line 63 of file UnitGradient.hpp.
std::size_t LCM::UnitGradient< EvalT, Traits >::num_dims_ [private] |
Number of spatial dimensions.
Definition at line 68 of file UnitGradient.hpp.