Panzer Version of the Day
|
#include <Panzer_ScatterDirichletResidual_BlockedTpetra.hpp>
Public Member Functions | |
ScatterDirichletResidual_BlockedTpetra (const Teuchos::RCP< const BlockedDOFManager > &indexer) | |
ScatterDirichletResidual_BlockedTpetra (const Teuchos::RCP< const BlockedDOFManager > &indexer, const Teuchos::ParameterList &p) | |
void | preEvaluate (typename TRAITS::PreEvalData d) |
void | postRegistrationSetup (typename TRAITS::SetupData d, PHX::FieldManager< TRAITS > &vm) |
void | evaluateFields (typename TRAITS::EvalData workset) |
virtual Teuchos::RCP< CloneableEvaluator > | clone (const Teuchos::ParameterList &pl) const |
![]() | |
void | setDetailsIndex (const int di) |
An evaluator builder sets the details index. | |
![]() | |
DomainEvaluator (DomainType domain=ALL) | |
Constructor. | |
virtual | ~DomainEvaluator ()=default |
Default destructor. | |
void | setDomain (const DomainType domain) |
Set the domain for the evaluator. | |
DomainType | getDomain () |
Get the domain for the evaluator. | |
virtual int | cellStartIndex (const panzer::Workset &workset) const |
Returns the starting cell for the specified domain for a given workset. | |
virtual int | cellEndIndex (const panzer::Workset &workset) const |
Returns the non-inclusive end cell for the specified domain for a given workset. | |
![]() | |
CloneableEvaluator () | |
virtual | ~CloneableEvaluator () |
Private Types | |
typedef panzer::Traits::Jacobian::ScalarT | ScalarT |
typedef TRAITS::RealType | RealType |
typedef BlockedTpetraLinearObjContainer< RealType, LO, GO, NodeT > | ContainerType |
typedef Tpetra::Operator< RealType, LO, GO, NodeT > | OperatorType |
typedef Tpetra::CrsMatrix< RealType, LO, GO, NodeT > | CrsMatrixType |
typedef Tpetra::Map< LO, GO, NodeT > | MapType |
typedef Thyra::TpetraLinearOp< RealType, LO, GO, NodeT > | ThyraLinearOp |
Private Member Functions | |
ScatterDirichletResidual_BlockedTpetra () | |
Private Attributes | |
Teuchos::RCP< PHX::FieldTag > | scatterHolder_ |
std::vector< PHX::MDField< const ScalarT, Cell, NODE > > | scatterFields_ |
Teuchos::RCP< const panzer::BlockedDOFManager > | globalIndexer_ |
std::vector< int > | fieldIds_ |
std::vector< int > | productVectorBlockIndex_ |
Teuchos::RCP< const std::map< std::string, std::string > > | fieldMap_ |
std::size_t | side_subcell_dim_ |
std::size_t | local_side_id_ |
Teuchos::RCP< Thyra::ProductVectorBase< double > > | dirichletCounter_ |
std::string | globalDataKey_ |
Teuchos::RCP< const BlockedTpetraLinearObjContainer< RealType, LO, GO, NodeT > > | blockedContainer_ |
PHX::View< LO ** > | worksetLIDs_ |
Local indices for unknowns. | |
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_ |
PHX::View< LO * > | blockOffsets_ |
The offset values of the blocked DOFs per element. Size of number of blocks in the product vector + 1. The plus one is a sentinel. | |
bool | checkApplyBC_ |
If set to true, allows runtime disabling of dirichlet BCs on node-by-node basis. | |
std::vector< PHX::MDField< const bool, Cell, NODE > > | applyBC_ |
Static Private Attributes | |
static constexpr int | maxDerivativeArraySize_ = 256 |
Used to allocate temporary space on device. | |
Additional Inherited Members | |
![]() | |
enum | DomainType : int { OWNED =0 , GHOST =1 , REAL =2 , VIRTUAL =3 , EXTERNAL =4 , ALL =5 } |
Domain types supported by worksets. More... | |
![]() | |
WorksetDetailsAccessor | wda |
Definition at line 207 of file Panzer_ScatterDirichletResidual_BlockedTpetra.hpp.
|
private |
Definition at line 230 of file Panzer_ScatterDirichletResidual_BlockedTpetra.hpp.
|
private |
Definition at line 231 of file Panzer_ScatterDirichletResidual_BlockedTpetra.hpp.
|
private |
Definition at line 233 of file Panzer_ScatterDirichletResidual_BlockedTpetra.hpp.
|
private |
Definition at line 234 of file Panzer_ScatterDirichletResidual_BlockedTpetra.hpp.
|
private |
Definition at line 235 of file Panzer_ScatterDirichletResidual_BlockedTpetra.hpp.
|
private |
Definition at line 236 of file Panzer_ScatterDirichletResidual_BlockedTpetra.hpp.
|
private |
Definition at line 238 of file Panzer_ScatterDirichletResidual_BlockedTpetra.hpp.
|
inline |
Definition at line 213 of file Panzer_ScatterDirichletResidual_BlockedTpetra.hpp.
panzer::ScatterDirichletResidual_BlockedTpetra< panzer::Traits::Jacobian, TRAITS, LO, GO, NodeT >::ScatterDirichletResidual_BlockedTpetra | ( | const Teuchos::RCP< const BlockedDOFManager > & | indexer, |
const Teuchos::ParameterList & | p ) |
Definition at line 327 of file Panzer_ScatterDirichletResidual_BlockedTpetra_impl.hpp.
|
private |
void panzer::ScatterDirichletResidual_BlockedTpetra< panzer::Traits::Jacobian, TRAITS, LO, GO, NodeT >::preEvaluate | ( | typename TRAITS::PreEvalData | d | ) |
Definition at line 457 of file Panzer_ScatterDirichletResidual_BlockedTpetra_impl.hpp.
void panzer::ScatterDirichletResidual_BlockedTpetra< panzer::Traits::Jacobian, TRAITS, LO, GO, NodeT >::postRegistrationSetup | ( | typename TRAITS::SetupData | d, |
PHX::FieldManager< TRAITS > & | vm ) |
Definition at line 379 of file Panzer_ScatterDirichletResidual_BlockedTpetra_impl.hpp.
void panzer::ScatterDirichletResidual_BlockedTpetra< panzer::Traits::Jacobian, TRAITS, LO, GO, NodeT >::evaluateFields | ( | typename TRAITS::EvalData | workset | ) |
Definition at line 474 of file Panzer_ScatterDirichletResidual_BlockedTpetra_impl.hpp.
|
inlinevirtual |
Implements panzer::CloneableEvaluator.
Definition at line 226 of file Panzer_ScatterDirichletResidual_BlockedTpetra.hpp.
|
private |
Definition at line 241 of file Panzer_ScatterDirichletResidual_BlockedTpetra.hpp.
|
private |
Definition at line 244 of file Panzer_ScatterDirichletResidual_BlockedTpetra.hpp.
|
private |
Definition at line 248 of file Panzer_ScatterDirichletResidual_BlockedTpetra.hpp.
|
private |
Definition at line 250 of file Panzer_ScatterDirichletResidual_BlockedTpetra.hpp.
|
private |
Returns the index into the Thyra ProductVector sub-block. Size of number of fields to scatter
Definition at line 254 of file Panzer_ScatterDirichletResidual_BlockedTpetra.hpp.
|
private |
Definition at line 260 of file Panzer_ScatterDirichletResidual_BlockedTpetra.hpp.
|
private |
Definition at line 262 of file Panzer_ScatterDirichletResidual_BlockedTpetra.hpp.
|
private |
Definition at line 263 of file Panzer_ScatterDirichletResidual_BlockedTpetra.hpp.
|
private |
Definition at line 265 of file Panzer_ScatterDirichletResidual_BlockedTpetra.hpp.
|
private |
Definition at line 266 of file Panzer_ScatterDirichletResidual_BlockedTpetra.hpp.
|
private |
Definition at line 267 of file Panzer_ScatterDirichletResidual_BlockedTpetra.hpp.
|
private |
Local indices for unknowns.
Definition at line 270 of file Panzer_ScatterDirichletResidual_BlockedTpetra.hpp.
|
private |
Offset into the cell lids for each field. Size of number of fields to scatter.
Definition at line 273 of file Panzer_ScatterDirichletResidual_BlockedTpetra.hpp.
|
private |
The local basis index corresponding to the fieldOffset_. Used to index into the basis index of MDFields. This is only required for tangent/normal BCs.
Definition at line 278 of file Panzer_ScatterDirichletResidual_BlockedTpetra.hpp.
|
private |
The offset values of the blocked DOFs per element. Size of number of blocks in the product vector + 1. The plus one is a sentinel.
Definition at line 281 of file Panzer_ScatterDirichletResidual_BlockedTpetra.hpp.
|
private |
If set to true, allows runtime disabling of dirichlet BCs on node-by-node basis.
Definition at line 284 of file Panzer_ScatterDirichletResidual_BlockedTpetra.hpp.
|
private |
Definition at line 287 of file Panzer_ScatterDirichletResidual_BlockedTpetra.hpp.
|
staticconstexprprivate |
Used to allocate temporary space on device.
Definition at line 290 of file Panzer_ScatterDirichletResidual_BlockedTpetra.hpp.