Public Member Functions | Private Types | Private Member Functions | Private Attributes

Aeras::ComputeBasisFunctions< EvalT, Traits > Class Template Reference

Finite Element Interpolation Evaluator. More...

#include <Aeras_ComputeBasisFunctions.hpp>

List of all members.

Public Member Functions

 ComputeBasisFunctions (const Teuchos::ParameterList &p, const Teuchos::RCP< Albany::Layouts > &dl)
void postRegistrationSetup (typename Traits::SetupData d, PHX::FieldManager< Traits > &vm)
void evaluateFields (typename Traits::EvalData d)

Private Types

typedef EvalT::MeshScalarT MeshScalarT

Private Member Functions

void div_check (const int spatialDim, const int numelements) const
void spherical_divergence (Intrepid::FieldContainer< MeshScalarT > &, const Intrepid::FieldContainer< MeshScalarT > &, const int e, const double rrearth=1) const
void initialize_grad (Intrepid::FieldContainer< RealType > &) const

Private Attributes

int numVertices
int numDims
int numNodes
int numQPs
PHX::MDField< MeshScalarT,
Cell, Vertex, Dim
coordVec
 Coordinate vector at vertices.
Teuchos::RCP
< Intrepid::Cubature< RealType > > 
cubature
Teuchos::RCP< Intrepid::Basis
< RealType,
Intrepid::FieldContainer
< RealType > > > 
intrepidBasis
Teuchos::RCP
< shards::CellTopology > 
cellType
Intrepid::FieldContainer
< RealType
val_at_cub_points
Intrepid::FieldContainer
< RealType
grad_at_cub_points
Intrepid::FieldContainer
< RealType
refPoints
Intrepid::FieldContainer
< RealType
refWeights
PHX::MDField< MeshScalarT,
Cell, QuadPoint
weighted_measure
 Basis Functions at quadrature points.
PHX::MDField< RealType, Cell,
Node, QuadPoint
BF
PHX::MDField< MeshScalarT,
Cell, QuadPoint, Dim
sphere_coord
PHX::MDField< MeshScalarT,
Cell, QuadPoint
jacobian_det
PHX::MDField< MeshScalarT,
Cell, QuadPoint, Dim, Dim
jacobian_inv
PHX::MDField< MeshScalarT,
Cell, QuadPoint, Dim, Dim
jacobian
PHX::MDField< MeshScalarT,
Cell, Node, QuadPoint
wBF
PHX::MDField< MeshScalarT,
Cell, Node, QuadPoint, Dim
GradBF
PHX::MDField< MeshScalarT,
Cell, Node, QuadPoint, Dim
wGradBF

Detailed Description

template<typename EvalT, typename Traits>
class Aeras::ComputeBasisFunctions< EvalT, Traits >

Finite Element Interpolation Evaluator.

This evaluator interpolates nodal DOF values to quad points.

Definition at line 29 of file Aeras_ComputeBasisFunctions.hpp.


Member Typedef Documentation

template<typename EvalT , typename Traits >
typedef EvalT::MeshScalarT Aeras::ComputeBasisFunctions< EvalT, Traits >::MeshScalarT [private]

Definition at line 44 of file Aeras_ComputeBasisFunctions.hpp.


Constructor & Destructor Documentation

template<typename EvalT , typename Traits >
Aeras::ComputeBasisFunctions< EvalT, Traits >::ComputeBasisFunctions ( const Teuchos::ParameterList &  p,
const Teuchos::RCP< Albany::Layouts > &  dl 
)

Definition at line 20 of file Aeras_ComputeBasisFunctions_Def.hpp.


Member Function Documentation

template<typename EvalT , typename Traits >
void Aeras::ComputeBasisFunctions< EvalT, Traits >::postRegistrationSetup ( typename Traits::SetupData  d,
PHX::FieldManager< Traits > &  vm 
)

Definition at line 74 of file Aeras_ComputeBasisFunctions_Def.hpp.

template<typename EvalT , typename Traits >
void Aeras::ComputeBasisFunctions< EvalT, Traits >::evaluateFields ( typename Traits::EvalData  d  ) 

The allocated size of the Field Containers must currently match the full workset size of the allocated PHX Fields, this is the size that is used in the computation. There is wasted effort computing on zeroes for the padding on the final workset. Ideally, these are size numCells. int containerSize = workset.numCells;

Definition at line 92 of file Aeras_ComputeBasisFunctions_Def.hpp.

template<typename EvalT , typename Traits >
void Aeras::ComputeBasisFunctions< EvalT, Traits >::div_check ( const int  spatialDim,
const int  numelements 
) const [private]

Definition at line 339 of file Aeras_ComputeBasisFunctions_Def.hpp.

template<typename EvalT , typename Traits >
void Aeras::ComputeBasisFunctions< EvalT, Traits >::spherical_divergence ( Intrepid::FieldContainer< MeshScalarT > &  div_v,
const Intrepid::FieldContainer< MeshScalarT > &  v_lambda_theta,
const int  e,
const double  rrearth = 1 
) const [private]

Definition at line 301 of file Aeras_ComputeBasisFunctions_Def.hpp.

template<typename EvalT , typename Traits >
void Aeras::ComputeBasisFunctions< EvalT, Traits >::initialize_grad ( Intrepid::FieldContainer< RealType > &  grad_at_quadrature_points  )  const [private]

Definition at line 272 of file Aeras_ComputeBasisFunctions_Def.hpp.


Member Data Documentation

template<typename EvalT , typename Traits >
int Aeras::ComputeBasisFunctions< EvalT, Traits >::numVertices [private]

Definition at line 45 of file Aeras_ComputeBasisFunctions.hpp.

template<typename EvalT , typename Traits >
int Aeras::ComputeBasisFunctions< EvalT, Traits >::numDims [private]

Definition at line 45 of file Aeras_ComputeBasisFunctions.hpp.

template<typename EvalT , typename Traits >
int Aeras::ComputeBasisFunctions< EvalT, Traits >::numNodes [private]

Definition at line 45 of file Aeras_ComputeBasisFunctions.hpp.

template<typename EvalT , typename Traits >
int Aeras::ComputeBasisFunctions< EvalT, Traits >::numQPs [private]

Definition at line 45 of file Aeras_ComputeBasisFunctions.hpp.

template<typename EvalT , typename Traits >
PHX::MDField<MeshScalarT,Cell,Vertex,Dim> Aeras::ComputeBasisFunctions< EvalT, Traits >::coordVec [private]

Coordinate vector at vertices.

Definition at line 49 of file Aeras_ComputeBasisFunctions.hpp.

template<typename EvalT , typename Traits >
Teuchos::RCP<Intrepid::Cubature<RealType> > Aeras::ComputeBasisFunctions< EvalT, Traits >::cubature [private]

Definition at line 50 of file Aeras_ComputeBasisFunctions.hpp.

template<typename EvalT , typename Traits >
Teuchos::RCP<Intrepid::Basis<RealType, Intrepid::FieldContainer<RealType> > > Aeras::ComputeBasisFunctions< EvalT, Traits >::intrepidBasis [private]

Definition at line 51 of file Aeras_ComputeBasisFunctions.hpp.

template<typename EvalT , typename Traits >
Teuchos::RCP<shards::CellTopology> Aeras::ComputeBasisFunctions< EvalT, Traits >::cellType [private]

Definition at line 52 of file Aeras_ComputeBasisFunctions.hpp.

template<typename EvalT , typename Traits >
Intrepid::FieldContainer<RealType> Aeras::ComputeBasisFunctions< EvalT, Traits >::val_at_cub_points [private]

Definition at line 55 of file Aeras_ComputeBasisFunctions.hpp.

template<typename EvalT , typename Traits >
Intrepid::FieldContainer<RealType> Aeras::ComputeBasisFunctions< EvalT, Traits >::grad_at_cub_points [private]

Definition at line 56 of file Aeras_ComputeBasisFunctions.hpp.

template<typename EvalT , typename Traits >
Intrepid::FieldContainer<RealType> Aeras::ComputeBasisFunctions< EvalT, Traits >::refPoints [private]

Definition at line 57 of file Aeras_ComputeBasisFunctions.hpp.

template<typename EvalT , typename Traits >
Intrepid::FieldContainer<RealType> Aeras::ComputeBasisFunctions< EvalT, Traits >::refWeights [private]

Definition at line 58 of file Aeras_ComputeBasisFunctions.hpp.

template<typename EvalT , typename Traits >
PHX::MDField<MeshScalarT,Cell,QuadPoint> Aeras::ComputeBasisFunctions< EvalT, Traits >::weighted_measure [private]

Basis Functions at quadrature points.

Definition at line 62 of file Aeras_ComputeBasisFunctions.hpp.

template<typename EvalT , typename Traits >
PHX::MDField<RealType,Cell,Node,QuadPoint> Aeras::ComputeBasisFunctions< EvalT, Traits >::BF [private]

Definition at line 63 of file Aeras_ComputeBasisFunctions.hpp.

template<typename EvalT , typename Traits >
PHX::MDField<MeshScalarT,Cell,QuadPoint,Dim> Aeras::ComputeBasisFunctions< EvalT, Traits >::sphere_coord [private]

Definition at line 64 of file Aeras_ComputeBasisFunctions.hpp.

template<typename EvalT , typename Traits >
PHX::MDField<MeshScalarT,Cell,QuadPoint> Aeras::ComputeBasisFunctions< EvalT, Traits >::jacobian_det [private]

Definition at line 65 of file Aeras_ComputeBasisFunctions.hpp.

template<typename EvalT , typename Traits >
PHX::MDField<MeshScalarT,Cell,QuadPoint,Dim,Dim> Aeras::ComputeBasisFunctions< EvalT, Traits >::jacobian_inv [private]

Definition at line 66 of file Aeras_ComputeBasisFunctions.hpp.

template<typename EvalT , typename Traits >
PHX::MDField<MeshScalarT,Cell,QuadPoint,Dim,Dim> Aeras::ComputeBasisFunctions< EvalT, Traits >::jacobian [private]

Definition at line 67 of file Aeras_ComputeBasisFunctions.hpp.

template<typename EvalT , typename Traits >
PHX::MDField<MeshScalarT,Cell,Node,QuadPoint> Aeras::ComputeBasisFunctions< EvalT, Traits >::wBF [private]

Definition at line 68 of file Aeras_ComputeBasisFunctions.hpp.

template<typename EvalT , typename Traits >
PHX::MDField<MeshScalarT,Cell,Node,QuadPoint,Dim> Aeras::ComputeBasisFunctions< EvalT, Traits >::GradBF [private]

Definition at line 69 of file Aeras_ComputeBasisFunctions.hpp.

template<typename EvalT , typename Traits >
PHX::MDField<MeshScalarT,Cell,Node,QuadPoint,Dim> Aeras::ComputeBasisFunctions< EvalT, Traits >::wGradBF [private]

Definition at line 70 of file Aeras_ComputeBasisFunctions.hpp.


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