43 #ifndef __Panzer_WriteVector_GlobalEvaluationData_hpp__
44 #define __Panzer_WriteVector_GlobalEvaluationData_hpp__
51 #include "Teuchos_RCP.hpp"
54 #include "Thyra_VectorBase.hpp"
117 if (lid <
static_cast<int>(
ownedView_.extent(0)))
panzer::kokkos_utils::VectorToViewTraits< Epetra_Vector >::View ghostedView_
The Kokkos::View of the ghosted vector.
virtual ~WriteVector_GlobalEvaluationData()
Virtual d.
WriteVector_GlobalEvaluationData()
Default constructor, set combine mode to sum right away.
virtual Teuchos::RCP< Thyra::VectorBase< double > > getGhostedVector() const =0
Get the ghosted vector.
virtual Teuchos::RCP< Thyra::VectorBase< double > > getOwnedVector() const =0
Get the owned vector.
CombineMode getCombineMode() const
Get the combine mode, to be used by sub classes.
virtual void setOwnedVector(const Teuchos::RCP< Thyra::VectorBase< double > > &ownedVector)=0
Set the owned vector.
virtual void globalToGhost(int)
void setCombineMode(CombineMode cm)
Allow the user to set the combine mode (at any time)
CombineMode
when you gho from ghost to global, combine with a particular mode
virtual void ghostToGlobal(int mem)=0
virtual bool isInitialized() const =0
Is this object initialized.
panzer::kokkos_utils::VectorToViewTraits< Epetra_Vector >::View ownedView_
The Kokkos::View of the owned vector.
double & operator[](const int &lid)
Element access.