43 #ifndef PANZER_EVALUATOR_GATHER_SOLUTION_BLOCKEDTPETRA_DECL_HPP 44 #define PANZER_EVALUATOR_GATHER_SOLUTION_BLOCKEDTPETRA_DECL_HPP 46 #include "Phalanx_config.hpp" 47 #include "Phalanx_Evaluator_Macros.hpp" 48 #include "Phalanx_MDField.hpp" 52 #include "PanzerDiscFE_config.hpp" 60 class Tpetra_CrsMatrix;
64 template <
typename ScalarT,
typename LocalOrdinalT,
typename GlobalOrdinalT,
typename NodeT>
67 template <
typename LocalOrdinalT,
typename GlobalOrdinalT>
70 template <
typename LocalOrdinalT,
typename GlobalOrdinalT>
80 template <
typename EvalT,
typename TRAITS,
typename S,
typename LO,
typename GO,
typename NodeT=panzer::TpetraNodeType>
83 public PHX::EvaluatorDerived<panzer::Traits::Residual, TRAITS>,
101 { std::cout <<
"unspecialized version of \"GatherSolution_BlockedTpetra::evaluateFields\" on \""+PHX::typeAsString<EvalT>()+
"\" should not be used!" << std::endl;
115 template <
typename TRAITS,
typename S,
typename LO,
typename GO,
typename NodeT>
118 public PHX::EvaluatorDerived<panzer::Traits::Residual, TRAITS>,
125 : gidIndexer_(indexer) {}
133 void preEvaluate(
typename TRAITS::PreEvalData d);
172 std::vector< std::vector< PHX::MDField<const ScalarT,Cell,NODE> > >
tangentFields_;
180 template <
typename TRAITS,
typename S,
typename LO,
typename GO,
typename NodeT>
183 public PHX::EvaluatorDerived<panzer::Traits::Tangent, TRAITS>,
190 : gidIndexer_(indexer) {}
198 void preEvaluate(
typename TRAITS::PreEvalData d);
235 std::vector< std::vector< PHX::MDField<const ScalarT,Cell,NODE> > >
tangentFields_;
243 template <
typename TRAITS,
typename S,
typename LO,
typename GO,
typename NodeT>
246 public PHX::EvaluatorDerived<panzer::Traits::Jacobian, TRAITS>,
251 : gidIndexer_(indexer) {}
259 void preEvaluate(
typename TRAITS::PreEvalData d);
300 #ifdef Panzer_BUILD_HESSIAN_SUPPORT
Tpetra::Import< LO, GO, NodeT > ImportType
GatherSolution_BlockedTpetra(const Teuchos::RCP< const BlockedDOFManager< LO, GO > > &indexer)
Tpetra::Vector< S, LO, GO, NodeT > VectorType
Tpetra::Export< LO, GO, NodeT > ExportType
bool disableSensitivities_
GatherSolution_BlockedTpetra(const Teuchos::RCP< const BlockedDOFManager< LO, GO > > &indexer)
GatherSolution_BlockedTpetra(const Teuchos::RCP< const BlockedDOFManager< LO, GO > > &indexer)
void postRegistrationSetup(typename TRAITS::SetupData d, PHX::FieldManager< TRAITS > &vm)
Tpetra::Map< LO, GO, NodeT > MapType
Teuchos::RCP< const BlockedDOFManager< LO, GO > > gidIndexer_
Tpetra::CrsGraph< LO, GO, NodeT > CrsGraphType
Teuchos::RCP< const BlockedTpetraLinearObjContainer< S, LO, GO, NodeT > > blockedContainer_
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
Tpetra::Vector< S, LO, GO, NodeT > VectorType
Tpetra::CrsGraph< LO, GO, NodeT > CrsGraphType
Tpetra::Export< LO, GO, NodeT > ExportType
std::string globalDataKey_
std::vector< std::vector< PHX::MDField< const ScalarT, Cell, NODE > > > tangentFields_
std::vector< std::vector< PHX::MDField< const ScalarT, Cell, NODE > > > tangentFields_
std::vector< std::string > indexerNames_
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
Gathers solution values from the Newton solution vector into the nodal fields of the field manager...
panzer::Traits::Jacobian::ScalarT ScalarT
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
bool useTimeDerivativeSolutionVector_
panzer::Traits::Residual EvalT
Teuchos::RCP< const BlockedTpetraLinearObjContainer< S, LO, GO, NodeT > > blockedContainer_
Wrapper to PHX::EvaluatorWithBaseImpl that implements Panzer-specific helpers.
Tpetra::CrsMatrix< S, LO, GO, NodeT > CrsMatrixType
BlockedTpetraLinearObjContainer< S, LO, GO, NodeT > ContainerType
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
std::vector< PHX::MDField< ScalarT, Cell, NODE > > gatherFields_
void evaluateFields(typename TRAITS::EvalData d)
Tpetra::CrsGraph< LO, GO, NodeT > CrsGraphType
Tpetra::CrsMatrix< S, LO, GO, NodeT > CrsMatrixType
Tpetra::Import< LO, GO, NodeT > ImportType
std::vector< int > fieldIds_
panzer::Traits::Tangent::ScalarT ScalarT
std::vector< std::string > indexerNames_
std::vector< int > fieldIds_
Tpetra::Export< LO, GO, NodeT > ExportType
Tpetra::Map< LO, GO, NodeT > MapType
bool useTimeDerivativeSolutionVector_
BlockedTpetraLinearObjContainer< S, LO, GO, NodeT > ContainerType
std::string globalDataKey_
panzer::Traits::Jacobian EvalT
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
bool useTimeDerivativeSolutionVector_
BlockedTpetraLinearObjContainer< S, LO, GO, NodeT > ContainerType
panzer::Traits::Tangent EvalT
std::vector< PHX::MDField< ScalarT, Cell, NODE > > gatherFields_
Teuchos::RCP< const BlockedTpetraLinearObjContainer< S, LO, GO, NodeT > > blockedContainer_
GatherSolution_BlockedTpetra(const Teuchos::RCP< const BlockedDOFManager< LO, GO > > &indexer)
Tpetra::CrsMatrix< S, LO, GO, NodeT > CrsMatrixType
std::string globalDataKey_
#define TEUCHOS_ASSERT(assertion_test)
Tpetra::Vector< S, LO, GO, NodeT > VectorType
std::vector< PHX::MDField< ScalarT, Cell, NODE > > gatherFields_
Tpetra::Map< LO, GO, NodeT > MapType
std::vector< std::string > indexerNames_
Tpetra::Import< LO, GO, NodeT > ImportType
Teuchos::RCP< const BlockedDOFManager< LO, GO > > gidIndexer_
Teuchos::RCP< const BlockedDOFManager< LO, GO > > gidIndexer_
Non-templated empty base class for template managers.
std::vector< int > fieldIds_
panzer::Traits::Residual::ScalarT ScalarT