43 #ifndef PANZER_EVALUATOR_GATHER_SOLUTION_BLOCKEDEPETRA_DECL_HPP 44 #define PANZER_EVALUATOR_GATHER_SOLUTION_BLOCKEDEPETRA_DECL_HPP 46 #include "Phalanx_config.hpp" 47 #include "Phalanx_Evaluator_Macros.hpp" 48 #include "Phalanx_MDField.hpp" 52 #include "PanzerDiscFE_config.hpp" 66 class BlockedEpetraLinearObjContainer;
68 template <
typename LocalOrdinalT,
typename GlobalOrdinalT>
69 class UniqueGlobalIndexer;
80 public PHX::EvaluatorDerived<panzer::Traits::Residual, TRAITS>,
93 { std::cout <<
"unspecialized version of \"GatherSolution_BlockedEpetra::evaluateFields\" on "+PHX::typeAsString<EvalT>()+
"\" should not be used!" << std::endl;
107 template<
typename TRAITS,
typename LO,
typename GO>
110 public PHX::EvaluatorDerived<panzer::Traits::Residual, TRAITS>,
117 : indexers_(indexers) {}
125 void preEvaluate(
typename TRAITS::PreEvalData d);
138 std::vector<Teuchos::RCP<const UniqueGlobalIndexer<LO,int> > >
indexers_;
156 std::vector< std::vector< PHX::MDField<const ScalarT,Cell,NODE> > >
tangentFields_;
164 template<
typename TRAITS,
typename LO,
typename GO>
167 public PHX::EvaluatorDerived<panzer::Traits::Tangent, TRAITS>,
174 : indexers_(indexers) {}
182 void preEvaluate(
typename TRAITS::PreEvalData d);
195 std::vector<Teuchos::RCP<const UniqueGlobalIndexer<LO,int> > >
indexers_;
210 std::vector< std::vector< PHX::MDField<const ScalarT,Cell,NODE> > >
tangentFields_;
218 template<
typename TRAITS,
typename LO,
typename GO>
221 public PHX::EvaluatorDerived<panzer::Traits::Jacobian, TRAITS>,
227 : indexers_(indexers) {}
235 void preEvaluate(
typename TRAITS::PreEvalData d);
247 std::vector<Teuchos::RCP<const UniqueGlobalIndexer<LO,int> > >
indexers_;
272 #ifdef Panzer_BUILD_HESSIAN_SUPPORT
Teuchos::RCP< Thyra::ProductVectorBase< double > > x_
std::vector< int > indexerIds_
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
std::vector< std::string > indexerNames_
panzer::Traits::Residual::ScalarT ScalarT
GatherSolution_BlockedEpetra(const std::vector< Teuchos::RCP< const UniqueGlobalIndexer< LO, int > > > &indexers)
GatherSolution_BlockedEpetra(const std::vector< Teuchos::RCP< const UniqueGlobalIndexer< LO, int > > > &indexers)
bool useTimeDerivativeSolutionVector_
std::string globalDataKey_
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
std::vector< PHX::MDField< ScalarT, Cell, NODE > > gatherFields_
PHX::MDField< ScalarT > vector
std::vector< int > subFieldIds_
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
panzer::Traits::Residual EvalT
void postRegistrationSetup(typename TRAITS::SetupData d, PHX::FieldManager< TRAITS > &vm)
std::vector< Teuchos::RCP< const UniqueGlobalIndexer< LO, int > > > indexers_
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
std::vector< PHX::MDField< ScalarT, Cell, NODE > > gatherFields_
Wrapper to PHX::EvaluatorWithBaseImpl that implements Panzer-specific helpers.
Teuchos::RCP< Thyra::ProductVectorBase< double > > x_
std::vector< int > subFieldIds_
bool useTimeDerivativeSolutionVector_
std::vector< PHX::MDField< ScalarT, Cell, NODE > > gatherFields_
std::vector< Teuchos::RCP< const UniqueGlobalIndexer< LO, int > > > indexers_
GatherSolution_BlockedEpetra(const Teuchos::ParameterList &p)
std::vector< Teuchos::RCP< const UniqueGlobalIndexer< LO, int > > > indexers_
std::string globalDataKey_
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
std::vector< int > indexerIds_
Gathers solution values from the Newton solution vector into the nodal fields of the field manager...
std::vector< std::vector< PHX::MDField< const ScalarT, Cell, NODE > > > tangentFields_
bool disableSensitivities_
std::vector< int > indexerIds_
std::vector< std::string > indexerNames_
std::vector< std::string > indexerNames_
std::string globalDataKey_
panzer::Traits::Tangent::ScalarT ScalarT
panzer::Traits::Jacobian EvalT
std::string sensitivitiesName_
void evaluateFields(typename TRAITS::EvalData d)
#define TEUCHOS_ASSERT(assertion_test)
bool useTimeDerivativeSolutionVector_
std::vector< int > subFieldIds_
GatherSolution_BlockedEpetra(const std::vector< Teuchos::RCP< const UniqueGlobalIndexer< LO, int > > > &indexers)
std::vector< std::vector< PHX::MDField< const ScalarT, Cell, NODE > > > tangentFields_
Non-templated empty base class for template managers.
Teuchos::RCP< Thyra::ProductVectorBase< double > > x_
panzer::Traits::Jacobian::ScalarT ScalarT
panzer::Traits::Tangent EvalT