11 #ifndef PANZER_EVALUATOR_SCATTER_RESIDUAL_BLOCKEDEPETRA_DECL_HPP
12 #define PANZER_EVALUATOR_SCATTER_RESIDUAL_BLOCKEDEPETRA_DECL_HPP
14 #include "Phalanx_config.hpp"
15 #include "Phalanx_Evaluator_Macros.hpp"
16 #include "Phalanx_MDField.hpp"
20 #include "PanzerDiscFE_config.hpp"
29 template <
typename>
class ProductVectorBase;
30 template <
typename>
class BlockedLinearOpBase;
56 { std::cout <<
"unspecialized version of \"ScatterResidual_BlockedEpetra::evaluateFields\" on "+PHX::print<EvalT>()+
" \" should not be used!" << std::endl;
70 template<
typename TRAITS,
typename LO,
typename GO>
81 : rowIndexers_(rIndexers) {}
86 bool useDiscreteAdjoint=
false);
129 template<
typename TRAITS,
typename LO,
typename GO>
140 : rowIndexers_(rIndexers) {}
145 bool useDiscreteAdjoint=
false);
189 template<
typename TRAITS,
typename LO,
typename GO>
219 bool useDiscreteAdjoint=
false)
220 : rowIndexers_(rIndexers), colIndexers_(cIndexers), useDiscreteAdjoint_(useDiscreteAdjoint) {}
225 bool useDiscreteAdjoint=
false);
271 #ifdef Panzer_BUILD_HESSIAN_SUPPORT
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
ScatterResidual_BlockedEpetra(const Teuchos::ParameterList &p)
ScatterResidual_BlockedEpetra(const std::vector< Teuchos::RCP< const GlobalIndexer > > &rIndexers, const std::vector< Teuchos::RCP< const GlobalIndexer > > &cIndexers, bool useDiscreteAdjoint=false)
Teuchos::RCP< Thyra::ProductVectorBase< double > > r_
Teuchos::RCP< PHX::FieldTag > scatterHolder_
std::vector< int > indexerIds_
std::vector< int > subFieldIds_
Teuchos::RCP< const std::map< std::string, std::string > > fieldMap_
ScatterResidual_BlockedEpetra(const std::vector< Teuchos::RCP< const GlobalIndexer > > &rIndexers, const std::vector< Teuchos::RCP< const GlobalIndexer > > &, bool)
Teuchos::RCP< Thyra::ProductVectorBase< double > > r_
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
std::vector< int > indexerIds_
void evaluateFields(typename TRAITS::EvalData d)
Teuchos::RCP< Thyra::BlockedLinearOpBase< double > > Jac_
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
Wrapper to PHX::EvaluatorWithBaseImpl that implements Panzer-specific helpers.
std::vector< PHX::MDField< const ScalarT, Cell, NODE > > scatterFields_
Teuchos::RCP< PHX::FieldTag > scatterHolder_
std::string globalDataKey_
std::vector< Teuchos::RCP< const GlobalIndexer > > colIndexers_
panzer::Traits::Residual::ScalarT ScalarT
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
std::string globalDataKey_
ScatterResidual_BlockedEpetra(const std::vector< Teuchos::RCP< const GlobalIndexer > > &rIndexers, const std::vector< Teuchos::RCP< const GlobalIndexer > > &, bool)
virtual void preEvaluate(typename Traits::PreEvalData d)=0
panzer::Traits::Tangent::ScalarT ScalarT
Teuchos::RCP< Thyra::ProductVectorBase< double > > r_
Teuchos::RCP< const std::map< std::string, std::string > > fieldMap_
std::vector< Teuchos::RCP< const GlobalIndexer > > colIndexers_
Pushes residual values into the residual vector for a Newton-based solve.
panzer::Traits::Jacobian::ScalarT ScalarT
std::vector< Teuchos::RCP< const GlobalIndexer > > colIndexers_
void postRegistrationSetup(typename TRAITS::SetupData d, PHX::FieldManager< TRAITS > &vm)
std::vector< PHX::MDField< const ScalarT, Cell, NODE > > scatterFields_
std::vector< int > subFieldIds_
Teuchos::RCP< PHX::FieldTag > scatterHolder_
std::vector< int > subFieldIds_
#define TEUCHOS_ASSERT(assertion_test)
std::vector< Teuchos::RCP< const GlobalIndexer > > rowIndexers_
std::vector< Teuchos::RCP< const GlobalIndexer > > rowIndexers_
std::vector< PHX::MDField< const ScalarT, Cell, NODE > > scatterFields_
std::vector< Teuchos::RCP< const GlobalIndexer > > rowIndexers_
Teuchos::RCP< const std::map< std::string, std::string > > fieldMap_
std::vector< int > indexerIds_
Non-templated empty base class for template managers.
std::string globalDataKey_