43 #ifndef __Panzer_EpetraVector_Write_GlobalEvaluationData_hpp__ 44 #define __Panzer_EpetraVector_Write_GlobalEvaluationData_hpp__ 53 #include "Epetra_Export.h" 54 #include "Epetra_Map.h" 55 #include "Epetra_Vector.h" 61 #include "Teuchos_RCP.hpp" 64 #include "Thyra_VectorSpaceBase.hpp" 65 #include "Thyra_VectorBase.hpp" 116 const Teuchos::RCP<const Epetra_Export>& exporter,
117 const Teuchos::RCP<const Epetra_Map>& ghostedMap,
118 const Teuchos::RCP<const Epetra_Map>& ownedMap)
138 const Teuchos::RCP<const Epetra_Export>& exporter,
139 const Teuchos::RCP<const Epetra_Map>& ghostedMap,
140 const Teuchos::RCP<const Epetra_Map>& ownedMap);
179 const Teuchos::RCP<Epetra_Vector>& ownedVector);
186 Teuchos::RCP<Epetra_Vector>
204 Teuchos::RCP<Thyra::VectorBase<double>>
212 Teuchos::RCP<Thyra::VectorBase<double>>
236 std::ostream& os)
const;
286 #endif // __Panzer_EpetraVector_Write_GlobalEvaluationData_hpp__ void setOwnedVector(const Teuchos::RCP< Thyra::VectorBase< double >> &ownedVector)
Set the owned vector (Thyra version).
void setOwnedVector_Epetra(const Teuchos::RCP< Epetra_Vector > &ownedVector)
Set the owned vector (Epetra version).
Teuchos::RCP< Epetra_Vector > getGhostedVector_Epetra() const
Get the ghosted vector (Epetra version).
Teuchos::RCP< Thyra::VectorBase< double > > ownedVector_
The owned vector.
void initialize(const Teuchos::RCP< const Epetra_Export > &exporter, const Teuchos::RCP< const Epetra_Map > &ghostedMap, const Teuchos::RCP< const Epetra_Map > &ownedMap)
Initialize this object with some Epetra communication objects.
Teuchos::RCP< const Epetra_Map > ownedMap_
The map corresponding to the owned vector.
Teuchos::RCP< const Thyra::VectorSpaceBase< double > > ownedSpace_
The vector space corresponding to the owned vector.
Teuchos::RCP< const Thyra::VectorSpaceBase< double > > ghostedSpace_
The vector space corresponding to the ghosted vector.
Teuchos::RCP< Thyra::VectorBase< double > > getOwnedVector() const
Get the owned vector (Thyra version).
void print(std::ostream &os) const
Print the object.
bool isInitialized_
A flag indicating whether or not the object has been initialized.
Teuchos::RCP< Thyra::VectorBase< double > > getGhostedVector() const
Get the ghosted vector (Thyra version).
This class provides a boundary exchange communication mechanism for vectors.
EpetraVector_Write_GlobalEvaluationData(const Teuchos::RCP< const Epetra_Export > &exporter, const Teuchos::RCP< const Epetra_Map > &ghostedMap, const Teuchos::RCP< const Epetra_Map > &ownedMap)
Initializing Constructor.
Teuchos::RCP< Epetra_Vector > ghostedVector_
The ghosted vector.
virtual void ghostToGlobal(int mem)
Communicate the ghosted data to the owned vector.
virtual bool requiresDirichletAdjustment() const
Determine if a Dirichlet adjustment is necessary.
Teuchos::RCP< const Epetra_Map > ghostedMap_
The map corresponding to the ghosted vector.
virtual void initializeData()
Clear out the ghosted vector. // JMG: Is this right?
EpetraVector_Write_GlobalEvaluationData()
Default Constructor.
Teuchos::RCP< const Epetra_Export > exporter_
The exporter used to communicate between the owned and ghosted vectors.
EpetraVector_Write_GlobalEvaluationData(const EpetraVector_Write_GlobalEvaluationData &src)
Copy Constructor.
virtual bool isInitialized() const
Is this object initialized?