Public Member Functions | Private Types | Private Attributes

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

This evaluator computes the residual for the transport equation. More...

#include <TransportResidual.hpp>

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

List of all members.

Public Member Functions

 TransportResidual (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
scalar_
 Scalar field for transport variable.
PHX::MDField< ScalarT, Cell,
QuadPoint
scalar_dot_
 Scalar dot field for transport variable.
PHX::MDField< ScalarT, Cell,
QuadPoint
scalar_grad_
 Scalar field for transport variable.
PHX::MDField< MeshScalarT,
Cell, QuadPoint
weights_
 Integrations weights.
PHX::MDField< MeshScalarT,
Cell, Node, QuadPoint
w_bf_
 Weighted basis functions.
PHX::MDField< MeshScalarT,
Cell, Node, QuadPoint, Dim
w_grad_bf_
 Weighted gradients of basis functions.
PHX::MDField< ScalarT, Cell,
QuadPoint
source_
 Source term(s).
PHX::MDField< ScalarT, Cell,
QuadPoint
transient_coeff_
 Scalar coefficient on the transient transport term.
PHX::MDField< ScalarT, Cell,
QuadPoint, Dim, Dim
diffusivity_
 Tensor diffusivity.
PHX::MDField< ScalarT, Cell,
QuadPoint, Dim
convection_vector_
 Vector convection term.
PHX::MDField< ScalarT, Cell,
QuadPoint
species_coupling_
 Species coupling term.
PHX::MDField< ScalarT, Cell,
QuadPoint
stabilization_
 Stabilization term.
PHX::MDField< ScalarT, Cell, Noderesidual_
 Output residual.
bool have_source_
 Feature flags.
bool have_transient_
bool have_diffusion_
bool have_convection_
bool have_species_coupling_
bool have_stabilization_
std::size_t num_nodes_
 Data structure dimensions.
std::size_t num_pts_
std::size_t num_dims_
std::string scalar_name_
 Scalar name.

Detailed Description

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

This evaluator computes the residual for the transport equation.

Definition at line 23 of file TransportResidual.hpp.


Member Typedef Documentation

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

Definition at line 47 of file TransportResidual.hpp.

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

Definition at line 48 of file TransportResidual.hpp.


Constructor & Destructor Documentation

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

Constructor.

Definition at line 16 of file TransportResidual_Def.hpp.


Member Function Documentation

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

Phalanx method to allocate space.

Definition at line 103 of file TransportResidual_Def.hpp.

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

Implementation of physics.

Definition at line 143 of file TransportResidual_Def.hpp.


Member Data Documentation

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

Scalar field for transport variable.

Definition at line 53 of file TransportResidual.hpp.

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

Scalar dot field for transport variable.

Definition at line 58 of file TransportResidual.hpp.

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

Scalar field for transport variable.

Definition at line 63 of file TransportResidual.hpp.

template<typename EvalT , typename Traits >
PHX::MDField<MeshScalarT,Cell,QuadPoint> LCM::TransportResidual< EvalT, Traits >::weights_ [private]

Integrations weights.

Definition at line 68 of file TransportResidual.hpp.

template<typename EvalT , typename Traits >
PHX::MDField<MeshScalarT,Cell,Node,QuadPoint> LCM::TransportResidual< EvalT, Traits >::w_bf_ [private]

Weighted basis functions.

Definition at line 73 of file TransportResidual.hpp.

template<typename EvalT , typename Traits >
PHX::MDField<MeshScalarT,Cell,Node,QuadPoint,Dim> LCM::TransportResidual< EvalT, Traits >::w_grad_bf_ [private]

Weighted gradients of basis functions.

Definition at line 78 of file TransportResidual.hpp.

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

Source term(s).

Definition at line 83 of file TransportResidual.hpp.

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

Scalar coefficient on the transient transport term.

Definition at line 88 of file TransportResidual.hpp.

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

Tensor diffusivity.

Definition at line 93 of file TransportResidual.hpp.

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

Vector convection term.

Definition at line 98 of file TransportResidual.hpp.

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

Species coupling term.

Definition at line 103 of file TransportResidual.hpp.

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

Stabilization term.

Definition at line 108 of file TransportResidual.hpp.

template<typename EvalT , typename Traits >
PHX::MDField<ScalarT,Cell,Node> LCM::TransportResidual< EvalT, Traits >::residual_ [private]

Output residual.

Definition at line 113 of file TransportResidual.hpp.

template<typename EvalT , typename Traits >
bool LCM::TransportResidual< EvalT, Traits >::have_source_ [private]

Feature flags.

Definition at line 118 of file TransportResidual.hpp.

template<typename EvalT , typename Traits >
bool LCM::TransportResidual< EvalT, Traits >::have_transient_ [private]

Definition at line 119 of file TransportResidual.hpp.

template<typename EvalT , typename Traits >
bool LCM::TransportResidual< EvalT, Traits >::have_diffusion_ [private]

Definition at line 120 of file TransportResidual.hpp.

template<typename EvalT , typename Traits >
bool LCM::TransportResidual< EvalT, Traits >::have_convection_ [private]

Definition at line 121 of file TransportResidual.hpp.

template<typename EvalT , typename Traits >
bool LCM::TransportResidual< EvalT, Traits >::have_species_coupling_ [private]

Definition at line 122 of file TransportResidual.hpp.

template<typename EvalT , typename Traits >
bool LCM::TransportResidual< EvalT, Traits >::have_stabilization_ [private]

Definition at line 123 of file TransportResidual.hpp.

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

Data structure dimensions.

Definition at line 128 of file TransportResidual.hpp.

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

Definition at line 128 of file TransportResidual.hpp.

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

Definition at line 128 of file TransportResidual.hpp.

template<typename EvalT , typename Traits >
std::string LCM::TransportResidual< EvalT, Traits >::scalar_name_ [private]

Scalar name.

Definition at line 133 of file TransportResidual.hpp.


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