Panzer  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
panzer::ReadOnlyVector_GlobalEvaluationData Class Referenceabstract

#include <Panzer_ReadOnlyVector_GlobalEvaluationData.hpp>

Inheritance diagram for panzer::ReadOnlyVector_GlobalEvaluationData:
Inheritance graph
[legend]

Public Member Functions

virtual ~ReadOnlyVector_GlobalEvaluationData ()
 Virtual d. More...
 
virtual bool isInitialized () const =0
 Is this object initialized. More...
 
virtual void globalToGhost (int mem)=0
 
virtual void ghostToGlobal (int)
 
virtual void setOwnedVector (const Teuchos::RCP< const Thyra::VectorBase< double > > &ownedVector)=0
 Set the owned vector. More...
 
virtual Teuchos::RCP< const
Thyra::VectorBase< double > > 
getOwnedVector () const =0
 Get the owned vector. More...
 
virtual Teuchos::RCP
< Thyra::VectorBase< double > > 
getGhostedVector () const =0
 Get the ghosted vector. More...
 
const double & operator[] (const int &lid) const
 Element access. More...
 
- Public Member Functions inherited from panzer::GlobalEvaluationData
virtual ~GlobalEvaluationData ()=0
 
virtual bool requiresDirichletAdjustment () const =0
 
virtual void initializeData ()=0
 
virtual void print (std::ostream &os) const
 Diagnostic function for determinning what's in this object. More...
 

Protected Attributes

panzer::kokkos_utils::VectorToViewTraits
< const Epetra_Vector >::View 
ownedView_
 The Kokkos::View of the owned vector. More...
 
panzer::kokkos_utils::VectorToViewTraits
< Epetra_Vector >::View 
ghostedView_
 The Kokkos::View of the ghosted vector. More...
 

Detailed Description

This class encapsulates the needs of a gather operation to do a halo exchange.

Definition at line 61 of file Panzer_ReadOnlyVector_GlobalEvaluationData.hpp.

Constructor & Destructor Documentation

virtual panzer::ReadOnlyVector_GlobalEvaluationData::~ReadOnlyVector_GlobalEvaluationData ( )
inlinevirtual

Virtual d.

Definition at line 65 of file Panzer_ReadOnlyVector_GlobalEvaluationData.hpp.

Member Function Documentation

virtual bool panzer::ReadOnlyVector_GlobalEvaluationData::isInitialized ( ) const
pure virtual
virtual void panzer::ReadOnlyVector_GlobalEvaluationData::globalToGhost ( int  mem)
pure virtual
virtual void panzer::ReadOnlyVector_GlobalEvaluationData::ghostToGlobal ( int  )
inlinevirtual
virtual void panzer::ReadOnlyVector_GlobalEvaluationData::setOwnedVector ( const Teuchos::RCP< const Thyra::VectorBase< double > > &  ownedVector)
pure virtual
virtual Teuchos::RCP<const Thyra::VectorBase<double> > panzer::ReadOnlyVector_GlobalEvaluationData::getOwnedVector ( ) const
pure virtual
virtual Teuchos::RCP<Thyra::VectorBase<double> > panzer::ReadOnlyVector_GlobalEvaluationData::getGhostedVector ( ) const
pure virtual
const double& panzer::ReadOnlyVector_GlobalEvaluationData::operator[] ( const int &  lid) const
inline

Element access.

Get the lid-th element in this GlobalEvaluationData.

Note
This will pull the appropriate element out of either the owned or ghosted vector, depending on the value of lid.
Parameters
[in]lidThe local ID of the element you'd like to get.
Returns
The lid-th element in this GlobalEvaluationData.

Definition at line 101 of file Panzer_ReadOnlyVector_GlobalEvaluationData.hpp.

Member Data Documentation

panzer::kokkos_utils::VectorToViewTraits<const Epetra_Vector>:: View panzer::ReadOnlyVector_GlobalEvaluationData::ownedView_
protected

The Kokkos::View of the owned vector.

Definition at line 116 of file Panzer_ReadOnlyVector_GlobalEvaluationData.hpp.

panzer::kokkos_utils::VectorToViewTraits<Epetra_Vector>::View panzer::ReadOnlyVector_GlobalEvaluationData::ghostedView_
protected

The Kokkos::View of the ghosted vector.

Definition at line 122 of file Panzer_ReadOnlyVector_GlobalEvaluationData.hpp.


The documentation for this class was generated from the following file: