11 #ifndef PANZER_EVALUATOR_SCATTER_RESIDUAL_EPETRA_DECL_HPP
12 #define PANZER_EVALUATOR_SCATTER_RESIDUAL_EPETRA_DECL_HPP
14 #include "Phalanx_config.hpp"
15 #include "Phalanx_Evaluator_Macros.hpp"
16 #include "Phalanx_MDField.hpp"
20 #include "PanzerDiscFE_config.hpp"
31 class EpetraLinearObjContainer;
64 template<
typename TRAITS,
typename LO,
typename GO>
73 bool useDiscreteAdjoint=
false)
74 : globalIndexer_(indexer),useDiscreteAdjoint_(useDiscreteAdjoint) {}
80 void postRegistrationSetup(
typename TRAITS::SetupData d,
83 void preEvaluate(
typename TRAITS::PreEvalData d);
85 void evaluateFields(
typename TRAITS::EvalData workset);
120 template<
typename TRAITS,
typename LO,
typename GO>
129 bool useDiscreteAdjoint=
false)
130 : globalIndexer_(indexer),useDiscreteAdjoint_(useDiscreteAdjoint) {}
136 void postRegistrationSetup(
typename TRAITS::SetupData d,
139 void preEvaluate(
typename TRAITS::PreEvalData d);
141 void evaluateFields(
typename TRAITS::EvalData workset);
174 template<
typename TRAITS,
typename LO,
typename GO>
184 bool useDiscreteAdjoint=
false)
185 : globalIndexer_(indexer), colGlobalIndexer_(cIndexer), useDiscreteAdjoint_(useDiscreteAdjoint) {}
191 void postRegistrationSetup(
typename TRAITS::SetupData d,
194 void preEvaluate(
typename TRAITS::PreEvalData d);
196 void evaluateFields(
typename TRAITS::EvalData workset);
235 #ifdef Panzer_BUILD_HESSIAN_SUPPORT
std::vector< int > fieldIds_
Teuchos::RCP< const std::map< std::string, std::string > > fieldMap_
Teuchos::RCP< const panzer::GlobalIndexer > globalIndexer_
std::string globalDataKey_
std::vector< int > fieldIds_
Teuchos::RCP< const std::map< std::string, std::string > > fieldMap_
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
Teuchos::RCP< const panzer::GlobalIndexer > globalIndexer_
Teuchos::RCP< const EpetraLinearObjContainer > epetraContainer_
Teuchos::RCP< PHX::FieldTag > scatterHolder_
Teuchos::RCP< PHX::FieldTag > scatterHolder_
panzer::Traits::Tangent::ScalarT ScalarT
panzer::Traits::Residual::ScalarT ScalarT
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
Wrapper to PHX::EvaluatorWithBaseImpl that implements Panzer-specific helpers.
Pushes residual values into the residual vector for a Newton-based solve.
std::vector< int > fieldIds_
std::string globalDataKey_
panzer::Traits::Jacobian::ScalarT ScalarT
Teuchos::RCP< const std::map< std::string, std::string > > fieldMap_
ScatterResidual_Epetra(const Teuchos::RCP< const panzer::GlobalIndexer > &indexer, const Teuchos::RCP< const panzer::GlobalIndexer > &, bool useDiscreteAdjoint=false)
Teuchos::RCP< PHX::FieldTag > scatterHolder_
std::vector< PHX::MDField< const ScalarT, Cell, NODE > > scatterFields_
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
Teuchos::RCP< const EpetraLinearObjContainer > epetraContainer_
std::vector< PHX::MDField< const ScalarT, Cell, NODE > > scatterFields_
Teuchos::RCP< const panzer::GlobalIndexer > globalIndexer_
std::vector< Teuchos::RCP< Epetra_Vector > > dfdp_vectors_
Non-templated empty base class for template managers.
std::vector< PHX::MDField< const ScalarT, Cell, NODE > > scatterFields_
ScatterResidual_Epetra(const Teuchos::RCP< const panzer::GlobalIndexer > &indexer, const Teuchos::RCP< const panzer::GlobalIndexer > &, bool useDiscreteAdjoint=false)
ScatterResidual_Epetra(const Teuchos::RCP< const panzer::GlobalIndexer > &indexer, const Teuchos::RCP< const panzer::GlobalIndexer > &cIndexer=Teuchos::null, bool useDiscreteAdjoint=false)