Panzer
Version of the Day
|
#include <Panzer_GatherSolution_BlockedTpetra.hpp>
Public Member Functions | |
GatherSolution_BlockedTpetra (const Teuchos::RCP< const BlockedDOFManager > &indexer) | |
GatherSolution_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 d) |
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 PHX::EvaluatorWithBaseImpl< TRAITS > | |
virtual void | evaluateFields (typename Traits::EvalData d) override=0 |
Public Member Functions inherited from PHX::Evaluator< Traits > | |
Evaluator () | |
virtual | ~Evaluator () |
virtual void | postRegistrationSetup (typename Traits::SetupData d, PHX::FieldManager< Traits > &vm)=0 |
virtual const std::vector < Teuchos::RCP< FieldTag > > & | evaluatedFields () const =0 |
virtual const std::vector < Teuchos::RCP< FieldTag > > & | contributedFields () const =0 |
virtual const std::vector < Teuchos::RCP< FieldTag > > & | dependentFields () const =0 |
virtual const std::vector < Teuchos::RCP< FieldTag > > & | unsharedFields () const =0 |
virtual void | preEvaluate (typename Traits::PreEvalData d)=0 |
virtual void | postEvaluate (typename Traits::PostEvalData d)=0 |
virtual const std::string & | getName () const =0 |
virtual void | bindField (const PHX::FieldTag &ft, const PHX::any &f)=0 |
virtual PHX::DeviceEvaluator < Traits > * | createDeviceEvaluator () const =0 |
virtual void | rebuildDeviceEvaluator (PHX::DeviceEvaluator< Traits > *e) const =0 |
virtual void | deleteDeviceEvaluator (PHX::DeviceEvaluator< Traits > *e) const =0 |
virtual void | printFieldValues (std::ostream &os) const =0 |
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 | EvalT |
typedef panzer::Traits::Residual::ScalarT | ScalarT |
typedef BlockedTpetraLinearObjContainer < S, LO, GO, NodeT > | ContainerType |
typedef Tpetra::Vector< S, LO, GO, NodeT > | VectorType |
typedef Tpetra::CrsMatrix< S, 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 | |
GatherSolution_BlockedTpetra () | |
Private Attributes | |
Teuchos::RCP< const BlockedDOFManager > | globalIndexer_ |
Maps the local (field,element,basis) triplet to a global ID for. More... | |
std::vector< int > | fieldIds_ |
Field IDs in the local product vector block (not global field id) More... | |
std::vector< Teuchos::RCP < const panzer::GlobalIndexer > > | fieldGlobalIndexers_ |
Vector of global indexers, one for each field to gather, respectively. More... | |
std::vector< int > | productVectorBlockIndex_ |
std::vector< PHX::MDField < ScalarT, Cell, NODE > > | gatherFields_ |
std::vector< std::string > | indexerNames_ |
bool | useTimeDerivativeSolutionVector_ |
std::string | globalDataKey_ |
Teuchos::RCP< const BlockedTpetraLinearObjContainer < S, LO, GO, NodeT > > | blockedContainer_ |
bool | has_tangent_fields_ |
std::vector< std::vector < PHX::MDField< const ScalarT, Cell, NODE > > > | tangentFields_ |
PHX::View< LO ** > | worksetLIDs_ |
Local indices for unknowns. More... | |
std::vector< PHX::View< int * > > | fieldOffsets_ |
Offset into the cell lids for each field. More... | |
Additional Inherited Members | |
Public Types inherited from panzer::DomainEvaluator | |
enum | DomainType : int { OWNED =0, GHOST =1, REAL =2, VIRTUAL =3, EXTERNAL =4, ALL =5 } |
Domain types supported by worksets. More... | |
Protected Attributes inherited from panzer::EvaluatorWithBaseImpl< TRAITS > | |
WorksetDetailsAccessor | wda |
Definition at line 110 of file Panzer_GatherSolution_BlockedTpetra.hpp.
|
private |
Definition at line 136 of file Panzer_GatherSolution_BlockedTpetra.hpp.
|
private |
Definition at line 137 of file Panzer_GatherSolution_BlockedTpetra.hpp.
|
private |
Definition at line 139 of file Panzer_GatherSolution_BlockedTpetra.hpp.
|
private |
Definition at line 140 of file Panzer_GatherSolution_BlockedTpetra.hpp.
|
private |
Definition at line 141 of file Panzer_GatherSolution_BlockedTpetra.hpp.
|
private |
Definition at line 142 of file Panzer_GatherSolution_BlockedTpetra.hpp.
|
private |
Definition at line 143 of file Panzer_GatherSolution_BlockedTpetra.hpp.
|
private |
Definition at line 144 of file Panzer_GatherSolution_BlockedTpetra.hpp.
|
private |
Definition at line 145 of file Panzer_GatherSolution_BlockedTpetra.hpp.
|
inline |
Definition at line 118 of file Panzer_GatherSolution_BlockedTpetra.hpp.
panzer::GatherSolution_BlockedTpetra< panzer::Traits::Residual, TRAITS, S, LO, GO, NodeT >::GatherSolution_BlockedTpetra | ( | const Teuchos::RCP< const BlockedDOFManager > & | indexer, |
const Teuchos::ParameterList & | p | ||
) |
Definition at line 90 of file Panzer_GatherSolution_BlockedTpetra_impl.hpp.
|
private |
void panzer::GatherSolution_BlockedTpetra< panzer::Traits::Residual, TRAITS, S, LO, GO, NodeT >::postRegistrationSetup | ( | typename TRAITS::SetupData | d, |
PHX::FieldManager< TRAITS > & | vm | ||
) |
Definition at line 145 of file Panzer_GatherSolution_BlockedTpetra_impl.hpp.
void panzer::GatherSolution_BlockedTpetra< panzer::Traits::Residual, TRAITS, S, LO, GO, NodeT >::preEvaluate | ( | typename TRAITS::PreEvalData | d | ) |
Definition at line 189 of file Panzer_GatherSolution_BlockedTpetra_impl.hpp.
void panzer::GatherSolution_BlockedTpetra< panzer::Traits::Residual, TRAITS, S, LO, GO, NodeT >::evaluateFields | ( | typename TRAITS::EvalData | d | ) |
Definition at line 198 of file Panzer_GatherSolution_BlockedTpetra_impl.hpp.
|
inlinevirtual |
Implements panzer::CloneableEvaluator.
Definition at line 131 of file Panzer_GatherSolution_BlockedTpetra.hpp.
|
private |
Maps the local (field,element,basis) triplet to a global ID for.
Definition at line 149 of file Panzer_GatherSolution_BlockedTpetra.hpp.
|
private |
Field IDs in the local product vector block (not global field id)
Definition at line 152 of file Panzer_GatherSolution_BlockedTpetra.hpp.
|
private |
Vector of global indexers, one for each field to gather, respectively.
Definition at line 155 of file Panzer_GatherSolution_BlockedTpetra.hpp.
|
private |
Returns the index to the Thyra ProductVector sub-block. Size of number of fields to gather
Definition at line 159 of file Panzer_GatherSolution_BlockedTpetra.hpp.
|
private |
Definition at line 161 of file Panzer_GatherSolution_BlockedTpetra.hpp.
|
private |
Definition at line 163 of file Panzer_GatherSolution_BlockedTpetra.hpp.
|
private |
Definition at line 164 of file Panzer_GatherSolution_BlockedTpetra.hpp.
|
private |
Definition at line 165 of file Panzer_GatherSolution_BlockedTpetra.hpp.
|
private |
Definition at line 167 of file Panzer_GatherSolution_BlockedTpetra.hpp.
|
private |
Definition at line 173 of file Panzer_GatherSolution_BlockedTpetra.hpp.
|
private |
Definition at line 174 of file Panzer_GatherSolution_BlockedTpetra.hpp.
|
private |
Local indices for unknowns.
Definition at line 177 of file Panzer_GatherSolution_BlockedTpetra.hpp.
|
private |
Offset into the cell lids for each field.
Definition at line 180 of file Panzer_GatherSolution_BlockedTpetra.hpp.