Public Member Functions | Private Types | Private Attributes

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

Compute element length in the direction of the solution gradient (cf. More...

#include <GradientElementLength.hpp>

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

List of all members.

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.

Detailed Description

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

Compute element length in the direction of the solution gradient (cf.

Tezduyar and Park CMAME 1986).

Definition at line 24 of file GradientElementLength.hpp.


Member Typedef Documentation

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

Definition at line 48 of file GradientElementLength.hpp.

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

Definition at line 49 of file GradientElementLength.hpp.


Constructor & Destructor Documentation

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


Member Function Documentation

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

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

Implementation of physics.

Definition at line 48 of file GradientElementLength_Def.hpp.


Member Data Documentation

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

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

template<typename EvalT , typename Traits >
PHX::MDField<ScalarT,Cell,QuadPoint> LCM::GradientElementLength< EvalT, Traits >::element_length_ [private]

Output: element length.

Definition at line 64 of file GradientElementLength.hpp.

template<typename EvalT , typename Traits >
std::size_t LCM::GradientElementLength< EvalT, Traits >::num_nodes_ [private]

Number of element nodes.

Definition at line 69 of file GradientElementLength.hpp.

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

Number of integration points.

Definition at line 74 of file GradientElementLength.hpp.

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

Number of spatial dimensions.

Definition at line 79 of file GradientElementLength.hpp.


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