Public Member Functions | Private Types | Private Attributes

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

Compute solution gradient unit vector. More...

#include <UnitGradient.hpp>

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

List of all members.

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.

Detailed Description

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

Compute solution gradient unit vector.

Definition at line 23 of file UnitGradient.hpp.


Member Typedef Documentation

template<typename EvalT , typename Traits >
typedef EvalT::ScalarT LCM::UnitGradient< EvalT, Traits >::ScalarT [private]

Definition at line 47 of file UnitGradient.hpp.

template<typename EvalT , typename Traits >
typedef EvalT::MeshScalarT LCM::UnitGradient< EvalT, Traits >::MeshScalarT [private]

Definition at line 48 of file UnitGradient.hpp.


Constructor & Destructor Documentation

template<typename EvalT , typename Traits >
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.


Member Function Documentation

template<typename EvalT , typename Traits >
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.

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

Implementation of physics.

Definition at line 44 of file UnitGradient_Def.hpp.


Member Data Documentation

template<typename EvalT , typename Traits >
PHX::MDField<ScalarT,Cell,QuadPoint,Dim> LCM::UnitGradient< EvalT, Traits >::scalar_grad_ [private]

Input: scalar gradient.

Definition at line 53 of file UnitGradient.hpp.

template<typename EvalT , typename Traits >
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.

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

Number of integration points.

Definition at line 63 of file UnitGradient.hpp.

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

Number of spatial dimensions.

Definition at line 68 of file UnitGradient.hpp.


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