11#ifndef __Panzer_ReadOnlyVector_GlobalEvaluationData_hpp__
12#define __Panzer_ReadOnlyVector_GlobalEvaluationData_hpp__
15#include "PanzerDiscFE_config.hpp"
16#ifdef PANZER_HAVE_EPETRA_STACK
23#include "Teuchos_RCP.hpp"
26#include "Thyra_VectorBase.hpp"
55 virtual Teuchos::RCP<const Thyra::VectorBase<double> >
getOwnedVector()
const = 0;
60#ifdef PANZER_HAVE_EPETRA_STACK
77 if (lid <
static_cast<int>(ownedView_.extent(0)))
78 return ownedView_(lid);
80 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.