43 #ifndef PANZER_EVALUATOR_GATHER_SOLUTION_EPETRA_DECL_HPP 44 #define PANZER_EVALUATOR_GATHER_SOLUTION_EPETRA_DECL_HPP 46 #include "Phalanx_config.hpp" 47 #include "Phalanx_Evaluator_Macros.hpp" 48 #include "Phalanx_MDField.hpp" 50 #include "Teuchos_ParameterList.hpp" 52 #include "PanzerDiscFE_config.hpp" 62 class Epetra_CrsMatrix;
66 template <
typename LocalOrdinalT,
typename GlobalOrdinalT>
67 class UniqueGlobalIndexer;
88 template<
typename TRAITS,
typename LO,
typename GO>
91 public PHX::EvaluatorDerived<panzer::Traits::Residual, TRAITS>,
98 globalIndexer_(indexer) {}
101 const Teuchos::ParameterList& p);
103 void postRegistrationSetup(
typename TRAITS::SetupData d,
106 void preEvaluate(
typename TRAITS::PreEvalData d);
108 void evaluateFields(
typename TRAITS::EvalData d);
110 virtual Teuchos::RCP<CloneableEvaluator>
clone(
const Teuchos::ParameterList & pl)
const 129 Teuchos::RCP<Epetra_Vector>
x_;
136 std::vector< std::vector< PHX::MDField<const ScalarT,Cell,NODE> > >
tangentFields_;
144 template<
typename TRAITS,
typename LO,
typename GO>
147 public PHX::EvaluatorDerived<panzer::Traits::Tangent, TRAITS>,
154 globalIndexer_(indexer) {}
157 const Teuchos::ParameterList& p);
159 void postRegistrationSetup(
typename TRAITS::SetupData d,
162 void preEvaluate(
typename TRAITS::PreEvalData d);
164 void evaluateFields(
typename TRAITS::EvalData d);
166 virtual Teuchos::RCP<CloneableEvaluator>
clone(
const Teuchos::ParameterList & pl)
const 186 Teuchos::RCP<Epetra_Vector>
x_;
190 std::vector< std::vector< PHX::MDField<const ScalarT,Cell,NODE> > >
tangentFields_;
198 template<
typename TRAITS,
typename LO,
typename GO>
201 public PHX::EvaluatorDerived<panzer::Traits::Jacobian, TRAITS>,
206 globalIndexer_(indexer) {}
209 const Teuchos::ParameterList& p);
211 void postRegistrationSetup(
typename TRAITS::SetupData d,
214 void preEvaluate(
typename TRAITS::PreEvalData d);
216 void evaluateFields(
typename TRAITS::EvalData d);
218 virtual Teuchos::RCP<CloneableEvaluator>
clone(
const Teuchos::ParameterList & pl)
const 244 Teuchos::RCP<Epetra_Vector>
x_;
251 #ifdef Panzer_BUILD_HESSIAN_SUPPORT
std::vector< int > fieldIds_
Teuchos::RCP< const panzer::UniqueGlobalIndexer< LO, GO > > globalIndexer_
Gathers solution values from the Newton solution vector into the nodal fields of the field manager...
std::vector< std::string > indexerNames_
GatherSolution_Epetra(const Teuchos::RCP< const panzer::UniqueGlobalIndexer< LO, GO > > &indexer)
std::vector< PHX::MDField< ScalarT, Cell, NODE > > gatherFields_
std::string globalDataKey_
std::string sensitivitiesName_
std::vector< std::string > indexerNames_
std::vector< std::string > indexerNames_
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
panzer::Traits::Tangent EvalT
std::vector< PHX::MDField< ScalarT, Cell, NODE > > gatherFields_
panzer::Traits::Tangent::ScalarT ScalarT
panzer::Traits::Residual::ScalarT ScalarT
bool useTimeDerivativeSolutionVector_
bool useTimeDerivativeSolutionVector_
Wrapper to PHX::EvaluatorWithBaseImpl that implements Panzer-specific helpers.
Teuchos::RCP< Epetra_Vector > x_
std::vector< std::vector< PHX::MDField< const ScalarT, Cell, NODE > > > tangentFields_
panzer::Traits::Jacobian EvalT
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
Teuchos::RCP< Epetra_Vector > x_
GatherSolution_Epetra(const Teuchos::RCP< const panzer::UniqueGlobalIndexer< LO, GO > > &indexer)
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
std::string globalDataKey_
std::vector< std::vector< PHX::MDField< const ScalarT, Cell, NODE > > > tangentFields_
GatherSolution_Epetra(const Teuchos::RCP< const panzer::UniqueGlobalIndexer< LO, GO > > &indexer)
bool useTimeDerivativeSolutionVector_
bool disableSensitivities_
panzer::Traits::Jacobian::ScalarT ScalarT
std::vector< PHX::MDField< ScalarT, Cell, NODE > > gatherFields_
std::vector< int > fieldIds_
std::vector< int > fieldIds_
Teuchos::RCP< const panzer::UniqueGlobalIndexer< LO, GO > > globalIndexer_
Teuchos::RCP< const panzer::UniqueGlobalIndexer< LO, GO > > globalIndexer_
panzer::Traits::Residual EvalT
Teuchos::RCP< Epetra_Vector > x_
Non-templated empty base class for template managers.
std::string globalDataKey_