Panzer
Version of the Day
|
#include <Panzer_ReadOnlyVector_GlobalEvaluationData.hpp>
Public Member Functions | |
virtual | ~ReadOnlyVector_GlobalEvaluationData () |
Virtual d. More... | |
virtual bool | isInitialized () const =0 |
Is this object initialized. More... | |
virtual void | globalToGhost (int mem)=0 |
virtual void | ghostToGlobal (int) |
virtual void | setOwnedVector (const Teuchos::RCP< const Thyra::VectorBase< double > > &ownedVector)=0 |
Set the owned vector. More... | |
virtual Teuchos::RCP< const Thyra::VectorBase< double > > | getOwnedVector () const =0 |
Get the owned vector. More... | |
virtual Teuchos::RCP < Thyra::VectorBase< double > > | getGhostedVector () const =0 |
Get the ghosted vector. More... | |
const double & | operator[] (const int &lid) const |
Element access. More... | |
Public Member Functions inherited from panzer::GlobalEvaluationData | |
virtual | ~GlobalEvaluationData ()=0 |
virtual bool | requiresDirichletAdjustment () const =0 |
virtual void | initializeData ()=0 |
virtual void | print (std::ostream &os) const |
Diagnostic function for determinning what's in this object. More... | |
Protected Attributes | |
panzer::kokkos_utils::VectorToViewTraits < const Epetra_Vector >::View | ownedView_ |
The Kokkos::View of the owned vector. More... | |
panzer::kokkos_utils::VectorToViewTraits < Epetra_Vector >::View | ghostedView_ |
The Kokkos::View of the ghosted vector. More... | |
This class encapsulates the needs of a gather operation to do a halo exchange.
Definition at line 61 of file Panzer_ReadOnlyVector_GlobalEvaluationData.hpp.
|
inlinevirtual |
Virtual d.
Definition at line 65 of file Panzer_ReadOnlyVector_GlobalEvaluationData.hpp.
|
pure virtual |
Is this object initialized.
Implemented in panzer::EpetraVector_ReadOnly_GlobalEvaluationData, panzer::TpetraVector_ReadOnly_GlobalEvaluationData< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >, and panzer::BlockedVector_ReadOnly_GlobalEvaluationData.
|
pure virtual |
For this class, this method does the halo exchange for the vector.
Implements panzer::GlobalEvaluationData.
Implemented in panzer::EpetraVector_ReadOnly_GlobalEvaluationData, panzer::BlockedVector_ReadOnly_GlobalEvaluationData, and panzer::TpetraVector_ReadOnly_GlobalEvaluationData< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >.
|
inlinevirtual |
For this class, this method does nothing.
Implements panzer::GlobalEvaluationData.
Reimplemented in panzer::EpetraVector_ReadOnly_GlobalEvaluationData, and panzer::TpetraVector_ReadOnly_GlobalEvaluationData< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >.
Definition at line 77 of file Panzer_ReadOnlyVector_GlobalEvaluationData.hpp.
|
pure virtual |
Set the owned vector.
Implemented in panzer::TpetraVector_ReadOnly_GlobalEvaluationData< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >.
|
pure virtual |
|
pure virtual |
|
inline |
Element access.
Get the lid
-th element in this GlobalEvaluationData
.
lid
.[in] | lid | The local ID of the element you'd like to get. |
lid
-th element in this GlobalEvaluationData
. Definition at line 101 of file Panzer_ReadOnlyVector_GlobalEvaluationData.hpp.
|
protected |
The Kokkos::View
of the owned vector.
Definition at line 116 of file Panzer_ReadOnlyVector_GlobalEvaluationData.hpp.
|
protected |
The Kokkos::View
of the ghosted vector.
Definition at line 122 of file Panzer_ReadOnlyVector_GlobalEvaluationData.hpp.