43 #ifndef __Panzer_BlockedVector_Write_GlobalEvaluationData_hpp__ 44 #define __Panzer_BlockedVector_Write_GlobalEvaluationData_hpp__ 63 template<
typename>
class DefaultProductVectorSpace;
105 const std::vector<Teuchos::RCP<WriteVector_GlobalEvaluationData>>&
134 const std::vector<Teuchos::RCP<WriteVector_GlobalEvaluationData>>&
183 virtual Teuchos::RCP<Thyra::VectorBase<double>>
191 virtual Teuchos::RCP<Thyra::VectorBase<double>>
210 Teuchos::RCP<WriteVector_GlobalEvaluationData>
222 Teuchos::RCP<const WriteVector_GlobalEvaluationData>
253 std::vector<Teuchos::RCP<WriteVector_GlobalEvaluationData>>
gedBlocks_;
263 Teuchos::RCP<const Thyra::DefaultProductVectorSpace<double>>
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.
This class encapsulates the needs of a gather operation to do a // halo exchange for blocked vector...
virtual void ghostToGlobal(int mem)
Communicate the ghosted data to the owned vector.
virtual Teuchos::RCP< Thyra::VectorBase< double > > getOwnedVector() const
Get 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).
size_t getBlockCount() const
How many blocks do we have?
virtual Teuchos::RCP< Thyra::VectorBase< double > > getGhostedVector() const
Get the ghosted vector.
Teuchos::RCP< Thyra::VectorBase< double > > ownedVector_
The owned vector.
virtual void initializeData()
Initialize internal data for communication.
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).