43#ifndef __Panzer_BlockedVector_ReadOnly_GlobalEvaluationData_hpp__
44#define __Panzer_BlockedVector_ReadOnly_GlobalEvaluationData_hpp__
105 const std::vector<Teuchos::RCP<ReadOnlyVector_GlobalEvaluationData>>&
134 const std::vector<Teuchos::RCP<ReadOnlyVector_GlobalEvaluationData>>&
183 virtual Teuchos::RCP<const Thyra::VectorBase<double>>
191 virtual Teuchos::RCP<Thyra::VectorBase<double>>
206#ifdef PANZER_HAVE_EPETRA_STACK
212 Teuchos::RCP<ReadOnlyVector_GlobalEvaluationData>
224 Teuchos::RCP<const ReadOnlyVector_GlobalEvaluationData>
256 std::vector<Teuchos::RCP<ReadOnlyVector_GlobalEvaluationData>>
267 Teuchos::RCP<const Thyra::DefaultProductVectorSpace<double>>
This class encapsulates the needs of a gather operation to do a halo exchange for blocked vectors.
virtual Teuchos::RCP< Thyra::VectorBase< double > > getGhostedVector() const
Get the ghosted vector.
bool isInitialized_
A flag indicating whether or not the object has been initialized.
virtual void initializeData()
Initialize internal data for communication.
bool requiresDirichletAdjustment() const
Determine if a Dirichlet adjustment is necessary.
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.
Teuchos::RCP< const Thyra::VectorBase< double > > ownedVector_
The owned vector.
Teuchos::RCP< const Thyra::DefaultProductVectorSpace< double > > ghostedSpace_
The vector space corresponding to the ghosted vector.
std::vector< Teuchos::RCP< ReadOnlyVector_GlobalEvaluationData > > gedBlocks_
A vector of the GlobalEvaluationData blocks.
virtual bool isInitialized() const
Is this object initialized?
virtual void globalToGhost(int mem)
Communicate the owned data to the ghosted vector.
virtual void setOwnedVector(const Teuchos::RCP< const Thyra::VectorBase< double > > &ownedVector)
Set the owned vector.
size_t getBlockCount() const
How many blocks do we have?
virtual ~BlockedVector_ReadOnly_GlobalEvaluationData()
Destructor.
virtual Teuchos::RCP< const Thyra::VectorBase< double > > getOwnedVector() const
Get the owned vector.
BlockedVector_ReadOnly_GlobalEvaluationData()
Default Constructor.