11#ifndef PANZER_EVALUATOR_GATHER_TANGENT_BLOCKEDTPETRA_DECL_HPP
12#define PANZER_EVALUATOR_GATHER_TANGENT_BLOCKEDTPETRA_DECL_HPP
14#include "Phalanx_config.hpp"
15#include "Phalanx_Evaluator_Macros.hpp"
16#include "Phalanx_MDField.hpp"
18#include "Teuchos_ParameterList.hpp"
20#include "PanzerDiscFE_config.hpp"
29template <
typename ScalarT,
typename LocalOrdinalT,
typename GlobalOrdinalT,
typename NodeT>
30class BlockedTpetraLinearObjContainer;
33class BlockedDOFManager;
46template <
typename EvalT,
typename TRAITS,
typename S,
typename LO,
typename GO,
typename NodeT=panzer::TpetraNodeType>
49 public PHX::EvaluatorDerived<EvalT, TRAITS>,
57 const Teuchos::ParameterList& p);
66 virtual Teuchos::RCP<CloneableEvaluator>
clone(
const Teuchos::ParameterList & pl)
const
Non-templated empty base class for template managers.
Wrapper to PHX::EvaluatorWithBaseImpl that implements Panzer-specific helpers.
Gathers tangent vectors dx/dp for computing df/dx*dx/dp + df/dp into the nodal fields of the field ma...
Tpetra::CrsMatrix< S, LO, GO, NodeT > CrsMatrixType
void preEvaluate(typename TRAITS::PreEvalData d)
std::vector< int > fieldIds_
std::vector< int > productVectorBlockIndex_
Tpetra::Export< LO, GO, NodeT > ExportType
std::vector< PHX::MDField< ScalarT, Cell, NODE > > gatherFields_
GatherTangent_BlockedTpetra()
bool useTimeDerivativeSolutionVector_
void evaluateFields(typename TRAITS::EvalData d)
std::vector< Teuchos::RCP< const panzer::GlobalIndexer > > fieldGlobalIndexers_
Vector of global indexers, one for each field to gather, respectively.
Teuchos::RCP< const BlockedDOFManager > globalIndexer_
std::string globalDataKey_
Tpetra::Import< LO, GO, NodeT > ImportType
Teuchos::RCP< std::vector< std::string > > indexerNames_
void postRegistrationSetup(typename TRAITS::SetupData d, PHX::FieldManager< TRAITS > &vm)
std::vector< PHX::View< int * > > fieldOffsets_
Offset into the cell lids for each field.
GatherTangent_BlockedTpetra(const Teuchos::RCP< const BlockedDOFManager > &indexer)
PHX::View< LO ** > worksetLIDs_
Local indices for unknowns.
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
Teuchos::RCP< const BlockedTpetraLinearObjContainer< S, LO, GO, NodeT > > blockedContainer_
Tpetra::Vector< S, LO, GO, NodeT > VectorType
BlockedTpetraLinearObjContainer< S, LO, GO, NodeT > ContainerType
panzer::Traits::RealType ScalarT
Tpetra::Map< LO, GO, NodeT > MapType
Tpetra::CrsGraph< LO, GO, NodeT > CrsGraphType