11 #ifndef __Panzer_BlockedVector_ReadOnly_GlobalEvaluationData_hpp__
12 #define __Panzer_BlockedVector_ReadOnly_GlobalEvaluationData_hpp__
174 #ifdef PANZER_HAVE_EPETRA_STACK
198 #endif // PANZER_HAVE_EPETRA_STACK
224 std::vector<Teuchos::RCP<ReadOnlyVector_GlobalEvaluationData>>
242 #endif // __Panzer_BlockedVector_ReadOnly_GlobalEvaluationData_hpp__
Teuchos::RCP< const Thyra::VectorBase< double > > ownedVector_
The owned vector.
bool requiresDirichletAdjustment() const
Determine if a Dirichlet adjustment is necessary.
BlockedVector_ReadOnly_GlobalEvaluationData()
Default Constructor.
std::vector< Teuchos::RCP< ReadOnlyVector_GlobalEvaluationData > > gedBlocks_
A vector of the GlobalEvaluationData blocks.
virtual ~BlockedVector_ReadOnly_GlobalEvaluationData()
Destructor.
size_t getBlockCount() const
How many blocks do we have?
virtual void initializeData()
Initialize internal data for communication.
This class encapsulates the needs of a gather operation to do a halo exchange for blocked vectors...
virtual void globalToGhost(int mem)
Communicate the owned data to the ghosted vector.
virtual Teuchos::RCP< Thyra::VectorBase< double > > getGhostedVector() const
Get the ghosted vector.
Teuchos::RCP< const Thyra::DefaultProductVectorSpace< double > > ghostedSpace_
The vector space corresponding to the ghosted vector.
virtual Teuchos::RCP< const Thyra::VectorBase< double > > getOwnedVector() const
Get the owned vector.
virtual void setOwnedVector(const Teuchos::RCP< const Thyra::VectorBase< double >> &ownedVector)
Set the owned vector.
bool isInitialized_
A flag indicating whether or not the object has been initialized.
void initialize(const Teuchos::RCP< const Thyra::VectorSpaceBase< double >> &ghostedSpace, const Teuchos::RCP< const Thyra::VectorSpaceBase< double >> &ownedSpace, const std::vector< Teuchos::RCP< ReadOnlyVector_GlobalEvaluationData >> &gedBlocks)
Initialize this object using the sub-GlobalEvaluationData objects.
virtual bool isInitialized() const
Is this object initialized?