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

QCAD::ResponseSaddleValue< EvalT, Traits > Class Template Reference

#include <QCAD_ResponseSaddleValue.hpp>

Inheritance diagram for QCAD::ResponseSaddleValue< EvalT, Traits >:
Inheritance graph
[legend]
Collaboration diagram for QCAD::ResponseSaddleValue< EvalT, Traits >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef EvalT::ScalarT ScalarT
typedef EvalT::MeshScalarT MeshScalarT

Public Member Functions

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

Private Member Functions

Teuchos::RCP< const
Teuchos::ParameterList > 
getValidResponseParameters () const
void getCellQuantities (const std::size_t cell, ScalarT &cellVol, typename EvalT::ScalarT &fieldVal, typename EvalT::ScalarT &retFieldVal, std::vector< typename EvalT::ScalarT > &fieldGrad) const
void getCellArea (const std::size_t cell, typename EvalT::ScalarT &cellArea) const
void getAvgCellCoordinates (PHX::MDField< MeshScalarT, Cell, QuadPoint, Dim > coordVec, const std::size_t cell, double *dblAvgCoords, double &dblMaxZ) const

Private Attributes

std::size_t numQPs
std::size_t numDims
std::size_t numVertices
Teuchos::RCP
< QCAD::SaddleValueResponseFunction
svResponseFn
PHX::MDField< ScalarTfield
PHX::MDField< ScalarTfieldGradient
PHX::MDField< ScalarTretField
PHX::MDField< MeshScalarT,
Cell, QuadPoint, Dim
coordVec
PHX::MDField< MeshScalarT,
Cell, Node, Dim
coordVec_vertices
PHX::MDField< MeshScalarT,
Cell, QuadPoint
weights
std::string fieldName
std::string fieldGradientName
std::string retFieldName
bool bReturnSameField
double scaling
double gradScaling
double retScaling
double lattTemp
Teuchos::RCP
< QCAD::MaterialDatabase
materialDB

Detailed Description

template<typename EvalT, typename Traits>
class QCAD::ResponseSaddleValue< EvalT, Traits >

Definition at line 22 of file QCAD_ResponseSaddleValue.hpp.


Member Typedef Documentation

template<typename EvalT , typename Traits >
typedef EvalT::ScalarT QCAD::ResponseSaddleValue< EvalT, Traits >::ScalarT
template<typename EvalT , typename Traits >
typedef EvalT::MeshScalarT QCAD::ResponseSaddleValue< EvalT, Traits >::MeshScalarT

Definition at line 28 of file QCAD_ResponseSaddleValue.hpp.


Constructor & Destructor Documentation

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

get lattice temperature and materialDB from "Parameters From Problem"

get and validate Response parameter list

get pointer to response function object

number of quad points per cell and dimension of space

User-specified parameters

Special case when return field name == "current": then just compute

setup operation field and its gradient, and the return field (if it's different)

add dependent fields

Definition at line 17 of file QCAD_ResponseSaddleValue_Def.hpp.


Member Function Documentation

template<typename EvalT , typename Traits >
void QCAD::ResponseSaddleValue< EvalT, Traits >::postRegistrationSetup ( typename Traits::SetupData  d,
PHX::FieldManager< Traits > &  vm 
)
template<typename EvalT , typename Traits >
void QCAD::ResponseSaddleValue< EvalT, Traits >::preEvaluate ( typename Traits::PreEvalData  d  ) 

Definition at line 144 of file QCAD_ResponseSaddleValue_Def.hpp.

template<typename EvalT , typename Traits >
void QCAD::ResponseSaddleValue< EvalT, Traits >::evaluateFields ( typename Traits::EvalData  d  ) 
template<typename EvalT , typename Traits >
void QCAD::ResponseSaddleValue< EvalT, Traits >::postEvaluate ( typename Traits::PostEvalData  d  ) 

Definition at line 296 of file QCAD_ResponseSaddleValue_Def.hpp.

template<typename EvalT , typename Traits >
Teuchos::RCP< const Teuchos::ParameterList > QCAD::ResponseSaddleValue< EvalT, Traits >::getValidResponseParameters (  )  const [private]

Definition at line 337 of file QCAD_ResponseSaddleValue_Def.hpp.

template<typename EvalT , typename Traits >
void QCAD::ResponseSaddleValue< EvalT, Traits >::getCellQuantities ( const std::size_t  cell,
ScalarT cellVol,
typename EvalT::ScalarT fieldVal,
typename EvalT::ScalarT retFieldVal,
std::vector< typename EvalT::ScalarT > &  fieldGrad 
) const [private]
template<typename EvalT , typename Traits >
void QCAD::ResponseSaddleValue< EvalT, Traits >::getCellArea ( const std::size_t  cell,
typename EvalT::ScalarT cellArea 
) const [private]

Definition at line 457 of file QCAD_ResponseSaddleValue_Def.hpp.

template<typename EvalT , typename Traits >
void QCAD::ResponseSaddleValue< EvalT, Traits >::getAvgCellCoordinates ( PHX::MDField< MeshScalarT, Cell, QuadPoint, Dim coordVec,
const std::size_t  cell,
double *  dblAvgCoords,
double &  dblMaxZ 
) const [private]

Member Data Documentation

template<typename EvalT , typename Traits >
std::size_t QCAD::ResponseSaddleValue< EvalT, Traits >::numQPs [private]

Definition at line 55 of file QCAD_ResponseSaddleValue.hpp.

template<typename EvalT , typename Traits >
std::size_t QCAD::ResponseSaddleValue< EvalT, Traits >::numDims [private]

Definition at line 56 of file QCAD_ResponseSaddleValue.hpp.

template<typename EvalT , typename Traits >
std::size_t QCAD::ResponseSaddleValue< EvalT, Traits >::numVertices [private]

Definition at line 57 of file QCAD_ResponseSaddleValue.hpp.

template<typename EvalT , typename Traits >
Teuchos::RCP<QCAD::SaddleValueResponseFunction> QCAD::ResponseSaddleValue< EvalT, Traits >::svResponseFn [private]

Definition at line 59 of file QCAD_ResponseSaddleValue.hpp.

template<typename EvalT , typename Traits >
PHX::MDField<ScalarT> QCAD::ResponseSaddleValue< EvalT, Traits >::field [private]

Definition at line 61 of file QCAD_ResponseSaddleValue.hpp.

template<typename EvalT , typename Traits >
PHX::MDField<ScalarT> QCAD::ResponseSaddleValue< EvalT, Traits >::fieldGradient [private]

Definition at line 62 of file QCAD_ResponseSaddleValue.hpp.

template<typename EvalT , typename Traits >
PHX::MDField<ScalarT> QCAD::ResponseSaddleValue< EvalT, Traits >::retField [private]

Definition at line 63 of file QCAD_ResponseSaddleValue.hpp.

template<typename EvalT , typename Traits >
PHX::MDField<MeshScalarT,Cell,QuadPoint,Dim> QCAD::ResponseSaddleValue< EvalT, Traits >::coordVec [private]

Definition at line 64 of file QCAD_ResponseSaddleValue.hpp.

template<typename EvalT , typename Traits >
PHX::MDField<MeshScalarT,Cell,Node,Dim> QCAD::ResponseSaddleValue< EvalT, Traits >::coordVec_vertices [private]

Definition at line 65 of file QCAD_ResponseSaddleValue.hpp.

template<typename EvalT , typename Traits >
PHX::MDField<MeshScalarT,Cell,QuadPoint> QCAD::ResponseSaddleValue< EvalT, Traits >::weights [private]

Definition at line 66 of file QCAD_ResponseSaddleValue.hpp.

template<typename EvalT , typename Traits >
std::string QCAD::ResponseSaddleValue< EvalT, Traits >::fieldName [private]

Definition at line 68 of file QCAD_ResponseSaddleValue.hpp.

template<typename EvalT , typename Traits >
std::string QCAD::ResponseSaddleValue< EvalT, Traits >::fieldGradientName [private]

Definition at line 69 of file QCAD_ResponseSaddleValue.hpp.

template<typename EvalT , typename Traits >
std::string QCAD::ResponseSaddleValue< EvalT, Traits >::retFieldName [private]

Definition at line 70 of file QCAD_ResponseSaddleValue.hpp.

template<typename EvalT , typename Traits >
bool QCAD::ResponseSaddleValue< EvalT, Traits >::bReturnSameField [private]

Definition at line 72 of file QCAD_ResponseSaddleValue.hpp.

template<typename EvalT , typename Traits >
double QCAD::ResponseSaddleValue< EvalT, Traits >::scaling [private]

Definition at line 73 of file QCAD_ResponseSaddleValue.hpp.

template<typename EvalT , typename Traits >
double QCAD::ResponseSaddleValue< EvalT, Traits >::gradScaling [private]

Definition at line 73 of file QCAD_ResponseSaddleValue.hpp.

template<typename EvalT , typename Traits >
double QCAD::ResponseSaddleValue< EvalT, Traits >::retScaling [private]

Definition at line 73 of file QCAD_ResponseSaddleValue.hpp.

template<typename EvalT , typename Traits >
double QCAD::ResponseSaddleValue< EvalT, Traits >::lattTemp [private]

Definition at line 74 of file QCAD_ResponseSaddleValue.hpp.

template<typename EvalT , typename Traits >
Teuchos::RCP<QCAD::MaterialDatabase> QCAD::ResponseSaddleValue< EvalT, Traits >::materialDB [private]

Definition at line 76 of file QCAD_ResponseSaddleValue.hpp.


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