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 | postRegistrationSetup (typename TRAITS::SetupData d, PHX::FieldManager< TRAITS > &vm) |
void | preEvaluate (typename TRAITS::PreEvalData d) |
void | evaluateFields (typename TRAITS::EvalData workset) |
virtual Teuchos::RCP < CloneableEvaluator > | clone (const Teuchos::ParameterList &pl) const |
Public Member Functions inherited from panzer::EvaluatorWithBaseImpl< TRAITS > | |
void | setDetailsIndex (const int di) |
An evaluator builder sets the details index. More... | |
Public Member Functions inherited from panzer::DomainEvaluator | |
DomainEvaluator (DomainType domain=ALL) | |
Constructor. More... | |
virtual | ~DomainEvaluator ()=default |
Default destructor. More... | |
void | setDomain (const DomainType domain) |
Set the domain for the evaluator. More... | |
DomainType | getDomain () |
Get the domain for the evaluator. More... | |
virtual int | cellStartIndex (const panzer::Workset &workset) const |
Returns the starting cell for the specified domain for a given workset. More... | |
virtual int | cellEndIndex (const panzer::Workset &workset) const |
Returns the non-inclusive end cell for the specified domain for a given workset. More... | |
Public Member Functions inherited from panzer::CloneableEvaluator | |
CloneableEvaluator () | |
virtual | ~CloneableEvaluator () |
Private Types | |
typedef panzer::Traits::Residual::ScalarT | ScalarT |
typedef TRAITS::RealType | RealType |
typedef BlockedTpetraLinearObjContainer < RealType, LO, GO, NodeT > | ContainerType |
typedef Tpetra::Vector < RealType, LO, GO, NodeT > | VectorType |
typedef Tpetra::CrsMatrix < RealType, LO, GO, NodeT > | CrsMatrixType |
typedef Tpetra::CrsGraph< LO, GO, NodeT > | CrsGraphType |
typedef Tpetra::Map< LO, GO, NodeT > | MapType |
typedef Tpetra::Import< LO, GO, NodeT > | ImportType |
typedef Tpetra::Export< LO, GO, NodeT > | ExportType |
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< Teuchos::RCP < const panzer::GlobalIndexer > > | fieldGlobalIndexers_ |
std::vector< int > | fieldIds_ |
Field IDs in the local product vector block (not global field id) More... | |
std::vector< int > | productVectorBlockIndex_ |
Teuchos::RCP< const std::map < std::string, std::string > > | fieldMap_ |
Kokkos::View< LO **, PHX::Device > | worksetLIDs_ |
Local indices for unknowns. More... | |
std::vector< Kokkos::View< int *, PHX::Device > > | fieldOffsets_ |
Offset into the cell lids for each field. More... | |
std::vector< Kokkos::View< int *, PHX::Device > > | basisIndexForMDFieldOffsets_ |
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_ |
bool | checkApplyBC_ |
If set to true, allows runtime disabling of dirichlet BCs on node-by-node basis. More... | |
bool | scatterIC_ |
std::vector< PHX::MDField < const bool, Cell, NODE > > | applyBC_ |
Additional Inherited Members | |
Public Types inherited from panzer::DomainEvaluator | |
enum | DomainType : int { OWNED =0, GHOST =1, REAL =2, VIRTUAL =3, ALL =4 } |
Domain types supported by worksets. More... | |
Protected Attributes inherited from panzer::EvaluatorWithBaseImpl< TRAITS > | |
WorksetDetailsAccessor | wda |
Definition at line 111 of file Panzer_ScatterDirichletResidual_BlockedTpetra.hpp.
|
private |
Definition at line 134 of file Panzer_ScatterDirichletResidual_BlockedTpetra.hpp.
|
private |
Definition at line 135 of file Panzer_ScatterDirichletResidual_BlockedTpetra.hpp.
|
private |
Definition at line 137 of file Panzer_ScatterDirichletResidual_BlockedTpetra.hpp.
|
private |
Definition at line 138 of file Panzer_ScatterDirichletResidual_BlockedTpetra.hpp.
|
private |
Definition at line 139 of file Panzer_ScatterDirichletResidual_BlockedTpetra.hpp.
|
private |
Definition at line 140 of file Panzer_ScatterDirichletResidual_BlockedTpetra.hpp.
|
private |
Definition at line 141 of file Panzer_ScatterDirichletResidual_BlockedTpetra.hpp.
|
private |
Definition at line 142 of file Panzer_ScatterDirichletResidual_BlockedTpetra.hpp.
|
private |
Definition at line 143 of file Panzer_ScatterDirichletResidual_BlockedTpetra.hpp.
|
inline |
Definition at line 117 of file Panzer_ScatterDirichletResidual_BlockedTpetra.hpp.
panzer::ScatterDirichletResidual_BlockedTpetra< panzer::Traits::Residual, TRAITS, LO, GO, NodeT >::ScatterDirichletResidual_BlockedTpetra | ( | const Teuchos::RCP< const BlockedDOFManager > & | indexer, |
const Teuchos::ParameterList & | p | ||
) |
Definition at line 109 of file Panzer_ScatterDirichletResidual_BlockedTpetra_impl.hpp.
|
inlineprivate |
Definition at line 200 of file Panzer_ScatterDirichletResidual_BlockedTpetra.hpp.
void panzer::ScatterDirichletResidual_BlockedTpetra< panzer::Traits::Residual, TRAITS, LO, GO, NodeT >::postRegistrationSetup | ( | typename TRAITS::SetupData | d, |
PHX::FieldManager< TRAITS > & | vm | ||
) |
Definition at line 166 of file Panzer_ScatterDirichletResidual_BlockedTpetra_impl.hpp.
void panzer::ScatterDirichletResidual_BlockedTpetra< panzer::Traits::Residual, TRAITS, LO, GO, NodeT >::preEvaluate | ( | typename TRAITS::PreEvalData | d | ) |
Definition at line 232 of file Panzer_ScatterDirichletResidual_BlockedTpetra_impl.hpp.
void panzer::ScatterDirichletResidual_BlockedTpetra< panzer::Traits::Residual, TRAITS, LO, GO, NodeT >::evaluateFields | ( | typename TRAITS::EvalData | workset | ) |
Definition at line 249 of file Panzer_ScatterDirichletResidual_BlockedTpetra_impl.hpp.
|
inlinevirtual |
Implements panzer::CloneableEvaluator.
Definition at line 130 of file Panzer_ScatterDirichletResidual_BlockedTpetra.hpp.
|
private |
Definition at line 146 of file Panzer_ScatterDirichletResidual_BlockedTpetra.hpp.
|
private |
Definition at line 149 of file Panzer_ScatterDirichletResidual_BlockedTpetra.hpp.
|
private |
Definition at line 153 of file Panzer_ScatterDirichletResidual_BlockedTpetra.hpp.
|
private |
Vector of global indexers, one for each scattered field respectively. This is the global indexer for the Thyra ProductVector sub-block.
Definition at line 158 of file Panzer_ScatterDirichletResidual_BlockedTpetra.hpp.
|
private |
Field IDs in the local product vector block (not global field id)
Definition at line 161 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 165 of file Panzer_ScatterDirichletResidual_BlockedTpetra.hpp.
|
private |
Definition at line 171 of file Panzer_ScatterDirichletResidual_BlockedTpetra.hpp.
|
private |
Local indices for unknowns.
Definition at line 174 of file Panzer_ScatterDirichletResidual_BlockedTpetra.hpp.
|
private |
Offset into the cell lids for each field.
Definition at line 177 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 182 of file Panzer_ScatterDirichletResidual_BlockedTpetra.hpp.
|
private |
Definition at line 184 of file Panzer_ScatterDirichletResidual_BlockedTpetra.hpp.
|
private |
Definition at line 185 of file Panzer_ScatterDirichletResidual_BlockedTpetra.hpp.
|
private |
Definition at line 187 of file Panzer_ScatterDirichletResidual_BlockedTpetra.hpp.
|
private |
Definition at line 188 of file Panzer_ScatterDirichletResidual_BlockedTpetra.hpp.
|
private |
Definition at line 189 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 192 of file Panzer_ScatterDirichletResidual_BlockedTpetra.hpp.
|
private |
Definition at line 195 of file Panzer_ScatterDirichletResidual_BlockedTpetra.hpp.
|
private |
Definition at line 198 of file Panzer_ScatterDirichletResidual_BlockedTpetra.hpp.