43 #ifndef __Panzer_ReadOnlyVector_GlobalEvaluationData_hpp__ 44 #define __Panzer_ReadOnlyVector_GlobalEvaluationData_hpp__ 51 #include "Teuchos_RCP.hpp" 54 #include "Thyra_VectorBase.hpp" 83 virtual Teuchos::RCP<const Thyra::VectorBase<double> >
getOwnedVector()
const = 0;
86 virtual Teuchos::RCP<Thyra::VectorBase<double> >
getGhostedVector()
const = 0;
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 PHX::View of the ghosted vector.
virtual bool isInitialized() const =0
Is this object initialized.
virtual void globalToGhost(int mem)=0
virtual Teuchos::RCP< const Thyra::VectorBase< double > > getOwnedVector() const =0
Get the owned vector.
const double & operator[](const int &lid) const
Element access.
panzer::kokkos_utils::VectorToViewTraits< const Epetra_Vector >::View ownedView_
The PHX::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.