#include <QCAD_ResponseSaddleValue.hpp>
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< ScalarT > | field |
PHX::MDField< ScalarT > | fieldGradient |
PHX::MDField< ScalarT > | retField |
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 |
Definition at line 22 of file QCAD_ResponseSaddleValue.hpp.
typedef EvalT::ScalarT QCAD::ResponseSaddleValue< EvalT, Traits >::ScalarT |
Reimplemented from PHAL::SeparableScatterScalarResponseBase< EvalT, Traits >.
Definition at line 27 of file QCAD_ResponseSaddleValue.hpp.
typedef EvalT::MeshScalarT QCAD::ResponseSaddleValue< EvalT, Traits >::MeshScalarT |
Definition at line 28 of file QCAD_ResponseSaddleValue.hpp.
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.
void QCAD::ResponseSaddleValue< EvalT, Traits >::postRegistrationSetup | ( | typename Traits::SetupData | d, | |
PHX::FieldManager< Traits > & | vm | |||
) |
Reimplemented from PHAL::SeparableScatterScalarResponse< EvalT, Traits >.
Definition at line 129 of file QCAD_ResponseSaddleValue_Def.hpp.
void QCAD::ResponseSaddleValue< EvalT, Traits >::preEvaluate | ( | typename Traits::PreEvalData | d | ) |
Definition at line 144 of file QCAD_ResponseSaddleValue_Def.hpp.
void QCAD::ResponseSaddleValue< EvalT, Traits >::evaluateFields | ( | typename Traits::EvalData | d | ) |
Reimplemented from PHAL::SeparableScatterScalarResponse< EvalT, Traits >.
Definition at line 158 of file QCAD_ResponseSaddleValue_Def.hpp.
void QCAD::ResponseSaddleValue< EvalT, Traits >::postEvaluate | ( | typename Traits::PostEvalData | d | ) |
Definition at line 296 of file QCAD_ResponseSaddleValue_Def.hpp.
Teuchos::RCP< const Teuchos::ParameterList > QCAD::ResponseSaddleValue< EvalT, Traits >::getValidResponseParameters | ( | ) | const [private] |
Definition at line 337 of file QCAD_ResponseSaddleValue_Def.hpp.
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] |
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.
void QCAD::ResponseSaddleValue< EvalT, Traits >::getAvgCellCoordinates | ( | PHX::MDField< MeshScalarT, Cell, QuadPoint, Dim > | coordVec, | |
const std::size_t | cell, | |||
double * | dblAvgCoords, | |||
double & | dblMaxZ | |||
) | const [private] |
std::size_t QCAD::ResponseSaddleValue< EvalT, Traits >::numQPs [private] |
Definition at line 55 of file QCAD_ResponseSaddleValue.hpp.
std::size_t QCAD::ResponseSaddleValue< EvalT, Traits >::numDims [private] |
Definition at line 56 of file QCAD_ResponseSaddleValue.hpp.
std::size_t QCAD::ResponseSaddleValue< EvalT, Traits >::numVertices [private] |
Definition at line 57 of file QCAD_ResponseSaddleValue.hpp.
Teuchos::RCP<QCAD::SaddleValueResponseFunction> QCAD::ResponseSaddleValue< EvalT, Traits >::svResponseFn [private] |
Definition at line 59 of file QCAD_ResponseSaddleValue.hpp.
PHX::MDField<ScalarT> QCAD::ResponseSaddleValue< EvalT, Traits >::field [private] |
Definition at line 61 of file QCAD_ResponseSaddleValue.hpp.
PHX::MDField<ScalarT> QCAD::ResponseSaddleValue< EvalT, Traits >::fieldGradient [private] |
Definition at line 62 of file QCAD_ResponseSaddleValue.hpp.
PHX::MDField<ScalarT> QCAD::ResponseSaddleValue< EvalT, Traits >::retField [private] |
Definition at line 63 of file QCAD_ResponseSaddleValue.hpp.
PHX::MDField<MeshScalarT,Cell,QuadPoint,Dim> QCAD::ResponseSaddleValue< EvalT, Traits >::coordVec [private] |
Definition at line 64 of file QCAD_ResponseSaddleValue.hpp.
PHX::MDField<MeshScalarT,Cell,Node,Dim> QCAD::ResponseSaddleValue< EvalT, Traits >::coordVec_vertices [private] |
Definition at line 65 of file QCAD_ResponseSaddleValue.hpp.
PHX::MDField<MeshScalarT,Cell,QuadPoint> QCAD::ResponseSaddleValue< EvalT, Traits >::weights [private] |
Definition at line 66 of file QCAD_ResponseSaddleValue.hpp.
std::string QCAD::ResponseSaddleValue< EvalT, Traits >::fieldName [private] |
Definition at line 68 of file QCAD_ResponseSaddleValue.hpp.
std::string QCAD::ResponseSaddleValue< EvalT, Traits >::fieldGradientName [private] |
Definition at line 69 of file QCAD_ResponseSaddleValue.hpp.
std::string QCAD::ResponseSaddleValue< EvalT, Traits >::retFieldName [private] |
Definition at line 70 of file QCAD_ResponseSaddleValue.hpp.
bool QCAD::ResponseSaddleValue< EvalT, Traits >::bReturnSameField [private] |
Definition at line 72 of file QCAD_ResponseSaddleValue.hpp.
double QCAD::ResponseSaddleValue< EvalT, Traits >::scaling [private] |
Definition at line 73 of file QCAD_ResponseSaddleValue.hpp.
double QCAD::ResponseSaddleValue< EvalT, Traits >::gradScaling [private] |
Definition at line 73 of file QCAD_ResponseSaddleValue.hpp.
double QCAD::ResponseSaddleValue< EvalT, Traits >::retScaling [private] |
Definition at line 73 of file QCAD_ResponseSaddleValue.hpp.
double QCAD::ResponseSaddleValue< EvalT, Traits >::lattTemp [private] |
Definition at line 74 of file QCAD_ResponseSaddleValue.hpp.
Teuchos::RCP<QCAD::MaterialDatabase> QCAD::ResponseSaddleValue< EvalT, Traits >::materialDB [private] |
Definition at line 76 of file QCAD_ResponseSaddleValue.hpp.