43 #ifndef __Panzer_BlockedVector_Write_GlobalEvaluationData_hpp__
44 #define __Panzer_BlockedVector_Write_GlobalEvaluationData_hpp__
63 template<
typename>
class DefaultProductVectorSpace;
253 std::vector<Teuchos::RCP<WriteVector_GlobalEvaluationData>>
gedBlocks_;
270 #endif // __Panzer_BlockedVector_Write_GlobalEvaluationData_hpp__
std::vector< Teuchos::RCP< WriteVector_GlobalEvaluationData > > gedBlocks_
A vector of the GlobalEvaluationData blocks.
void initialize(const Teuchos::RCP< const Thyra::VectorSpaceBase< double >> &ghostedSpace, const Teuchos::RCP< const Thyra::VectorSpaceBase< double >> &ownedSpace, const std::vector< Teuchos::RCP< WriteVector_GlobalEvaluationData >> &gedBlocks)
Initialize this object using the sub-GlobalEvaluationData objects.
size_t getBlockCount() const
How many blocks do we have?
This class encapsulates the needs of a gather operation to do a // halo exchange for blocked vectors...
virtual void ghostToGlobal(int mem)
Communicate the ghosted data to the owned vector.
BlockedVector_Write_GlobalEvaluationData()
Default Constructor.
virtual ~BlockedVector_Write_GlobalEvaluationData()
Destructor.
virtual void setOwnedVector(const Teuchos::RCP< Thyra::VectorBase< double >> &ownedVector)
Set the owned vector.
Teuchos::RCP< const WriteVector_GlobalEvaluationData > getGEDBlock(int i) const
Get the i-th block (const version).
virtual Teuchos::RCP< Thyra::VectorBase< double > > getOwnedVector() const
Get the owned vector.
Teuchos::RCP< Thyra::VectorBase< double > > ownedVector_
The owned vector.
virtual void initializeData()
Initialize internal data for communication.
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.
bool requiresDirichletAdjustment() const
Determine if a Dirichlet adjustment is necessary.
virtual bool isInitialized() const
Is this object initialized?
bool isInitialized_
A flag indicating whether or not the object has been initialized.
Teuchos::RCP< WriteVector_GlobalEvaluationData > getGEDBlock(int i)
Get the i-th block (non const version).