11 #ifndef PANZER_EVALUATOR_SCATTER_DIRICHLET_RESIDUAL_BLOCKEDTPETRA_HPP
12 #define PANZER_EVALUATOR_SCATTER_DIRICHLET_RESIDUAL_BLOCKEDTPETRA_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 ScalarT>
class ProductVectorBase;
34 class BlockedDOFManager;
45 template <
typename EvalT,
typename TRAITS,
typename LO,
typename GO,
typename NodeT=panzer::TpetraNodeType>
64 { std::cout <<
"unspecialized version of \"ScatterDirichletResidual_BlockedTpetra::evaluateFields\" on \""+PHX::print<EvalT>()+
"\" should not be used!" << std::endl;
78 template <
typename TRAITS,
typename LO,
typename GO,
typename NodeT>
86 : globalIndexer_(indexer) {}
166 std::vector< PHX::MDField<const bool,Cell,NODE> >
applyBC_;
174 template <
typename TRAITS,
typename LO,
typename GO,
typename NodeT>
182 : globalIndexer_(indexer) {}
255 std::vector< PHX::MDField<const bool,Cell,NODE> >
applyBC_;
258 static constexpr
int maxDerivativeArraySize_ = 256;
265 #ifdef Panzer_BUILD_HESSIAN_SUPPORT
PHX::View< LO ** > worksetLIDs_
Local indices for unknowns.
TRAITS::RealType RealType
TRAITS::RealType RealType
std::size_t side_subcell_dim_
Tpetra::Export< LO, GO, NodeT > ExportType
Teuchos::RCP< const std::map< std::string, std::string > > fieldMap_
std::vector< PHX::MDField< const ScalarT, Cell, NODE > > scatterFields_
Teuchos::RCP< const panzer::BlockedDOFManager > globalIndexer_
BlockedTpetraLinearObjContainer< RealType, LO, GO, NodeT > ContainerType
ScatterDirichletResidual_BlockedTpetra(const Teuchos::RCP< const BlockedDOFManager > &)
std::vector< int > productVectorBlockIndex_
Teuchos::RCP< Thyra::ProductVectorBase< double > > dirichletCounter_
std::size_t side_subcell_dim_
BlockedTpetraLinearObjContainer< RealType, LO, GO, NodeT > ContainerType
Teuchos::RCP< Thyra::ProductVectorBase< double > > dirichletCounter_
std::string globalDataKey_
std::size_t local_side_id_
std::vector< PHX::MDField< const ScalarT, Cell, NODE > > scatterFields_
bool checkApplyBC_
If set to true, allows runtime disabling of dirichlet BCs on node-by-node basis.
Tpetra::Operator< RealType, LO, GO, NodeT > OperatorType
Tpetra::CrsMatrix< RealType, LO, GO, NodeT > CrsMatrixType
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
Wrapper to PHX::EvaluatorWithBaseImpl that implements Panzer-specific helpers.
PHX::View< LO ** > worksetLIDs_
Local indices for unknowns.
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
Thyra::TpetraLinearOp< RealType, LO, GO, NodeT > ThyraLinearOp
Teuchos::RCP< const BlockedTpetraLinearObjContainer< RealType, LO, GO, NodeT > > blockedContainer_
Tpetra::Import< LO, GO, NodeT > ImportType
std::vector< PHX::View< int * > > basisIndexForMDFieldOffsets_
ScatterDirichletResidual_BlockedTpetra(const Teuchos::RCP< const BlockedDOFManager > &indexer)
Teuchos::RCP< const std::map< std::string, std::string > > fieldMap_
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
std::vector< PHX::MDField< const bool, Cell, NODE > > applyBC_
Tpetra::Vector< RealType, LO, GO, NodeT > VectorType
Tpetra::CrsMatrix< RealType, LO, GO, NodeT > CrsMatrixType
Tpetra::Map< LO, GO, NodeT > MapType
void evaluateFields(typename TRAITS::EvalData)
Tpetra::Map< LO, GO, NodeT > MapType
std::vector< int > fieldIds_
Field IDs in the local product vector block (not global field id)
Teuchos::RCP< const panzer::BlockedDOFManager > globalIndexer_
PHX::View< LO * > blockOffsets_
The offset values of the blocked DOFs per element. Size of number of blocks in the product vector + 1...
virtual void preEvaluate(typename Traits::PreEvalData d)=0
Teuchos::RCP< PHX::FieldTag > scatterHolder_
bool checkApplyBC_
If set to true, allows runtime disabling of dirichlet BCs on node-by-node basis.
std::vector< PHX::View< int * > > fieldOffsets_
Offset into the cell lids for each field. Size of number of fields to scatter.
std::vector< PHX::View< int * > > basisIndexForMDFieldOffsets_
std::vector< int > productVectorBlockIndex_
std::string globalDataKey_
Tpetra::CrsGraph< LO, GO, NodeT > CrsGraphType
std::vector< PHX::MDField< const bool, Cell, NODE > > applyBC_
Pushes residual values into the residual vector for a Newton-based solve.
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
panzer::Traits::Residual::ScalarT ScalarT
std::size_t local_side_id_
Teuchos::RCP< PHX::FieldTag > scatterHolder_
ScatterDirichletResidual_BlockedTpetra()
#define TEUCHOS_ASSERT(assertion_test)
std::vector< int > fieldIds_
Teuchos::RCP< const BlockedTpetraLinearObjContainer< RealType, LO, GO, NodeT > > blockedContainer_
ScatterDirichletResidual_BlockedTpetra(const Teuchos::RCP< const BlockedDOFManager > &indexer)
panzer::Traits::Jacobian::ScalarT ScalarT
void postRegistrationSetup(typename TRAITS::SetupData, PHX::FieldManager< TRAITS > &)
std::vector< Teuchos::RCP< const panzer::GlobalIndexer > > fieldGlobalIndexers_
Non-templated empty base class for template managers.
std::vector< PHX::View< int * > > fieldOffsets_
Offset into the cell lids for each field.