43#ifndef __Panzer_ReadOnlyVector_GlobalEvaluationData_hpp__
44#define __Panzer_ReadOnlyVector_GlobalEvaluationData_hpp__
47#include "PanzerDiscFE_config.hpp"
48#ifdef PANZER_HAVE_EPETRA_STACK
55#include "Teuchos_RCP.hpp"
58#include "Thyra_VectorBase.hpp"
87 virtual Teuchos::RCP<const Thyra::VectorBase<double> >
getOwnedVector()
const = 0;
92#ifdef PANZER_HAVE_EPETRA_STACK
107 const int& lid)
const
109 if (lid <
static_cast<int>(ownedView_.extent(0)))
110 return ownedView_(lid);
112 return ghostedView_(lid - ownedView_.extent(0));
virtual void globalToGhost(int mem)=0
virtual Teuchos::RCP< Thyra::VectorBase< double > > getGhostedVector() const =0
Get the ghosted vector.
virtual void ghostToGlobal(int)
virtual void setOwnedVector(const Teuchos::RCP< const Thyra::VectorBase< double > > &ownedVector)=0
Set the owned vector.
virtual bool isInitialized() const =0
Is this object initialized.
virtual Teuchos::RCP< const Thyra::VectorBase< double > > getOwnedVector() const =0
Get the owned vector.
virtual ~ReadOnlyVector_GlobalEvaluationData()
Virtual d.