43 #ifndef __Panzer_ReadOnlyVector_GlobalEvaluationData_hpp__
44 #define __Panzer_ReadOnlyVector_GlobalEvaluationData_hpp__
54 #include "Thyra_VectorBase.hpp"
102 const int& lid)
const
104 if (lid < static_cast<int>(
ownedView_.extent(0)))
128 #endif // __Panzer_ReadOnlyVector_GlobalEvaluationData_hpp__
virtual void ghostToGlobal(int)
panzer::kokkos_utils::VectorToViewTraits< Epetra_Vector >::View ghostedView_
The Kokkos::View of the ghosted vector.
virtual bool isInitialized() const =0
Is this object initialized.
const double & operator[](const int &lid) const
Element access.
virtual void globalToGhost(int mem)=0
virtual Teuchos::RCP< const Thyra::VectorBase< double > > getOwnedVector() const =0
Get the owned vector.
panzer::kokkos_utils::VectorToViewTraits< const Epetra_Vector >::View ownedView_
The Kokkos::View of the owned vector.
virtual Teuchos::RCP< Thyra::VectorBase< double > > getGhostedVector() const =0
Get the ghosted vector.
virtual ~ReadOnlyVector_GlobalEvaluationData()
Virtual d.
virtual void setOwnedVector(const Teuchos::RCP< const Thyra::VectorBase< double > > &ownedVector)=0
Set the owned vector.