Panzer  Version of the Day
Panzer_ReadOnlyVector_GlobalEvaluationData.hpp
Go to the documentation of this file.
1 #ifndef __Panzer_ReadOnlyVector_GlobalEvaluationData_hpp__
2 #define __Panzer_ReadOnlyVector_GlobalEvaluationData_hpp__
3 
4 #include "Teuchos_RCP.hpp"
5 
6 #include "Thyra_VectorBase.hpp"
7 
9 
10 namespace panzer {
11 
16 public:
17 
20 
22  virtual bool isInitialized() const = 0;
23 
27  virtual void globalToGhost(int mem) = 0;
28 
31  virtual void ghostToGlobal(int mem) {}
32 
34  virtual void setOwnedVector(const Teuchos::RCP<const Thyra::VectorBase<double> > & ownedVector) = 0;
35 
37  virtual Teuchos::RCP<const Thyra::VectorBase<double> > getOwnedVector() const = 0;
38 
40  virtual Teuchos::RCP<Thyra::VectorBase<double> > getGhostedVector() const = 0;
41 };
42 
43 }
44 
45 #endif
virtual bool isInitialized() const =0
Is this object initialized.
virtual Teuchos::RCP< const Thyra::VectorBase< double > > getOwnedVector() const =0
Get the owned vector.
virtual Teuchos::RCP< Thyra::VectorBase< double > > getGhostedVector() const =0
Get the ghosted vector.
virtual void setOwnedVector(const Teuchos::RCP< const Thyra::VectorBase< double > > &ownedVector)=0
Set the owned vector.