| 
    Panzer
    Version of the Day
    
   | 
 
#include <Panzer_WriteVector_GlobalEvaluationData.hpp>

Public Types | |
| enum | CombineMode { CM_Sum, CM_Max, CM_Min, CM_Insert } | 
| when you gho from ghost to global, combine with a particular mode  More... | |
Public Member Functions | |
| WriteVector_GlobalEvaluationData () | |
| Default constructor, set combine mode to sum right away.  More... | |
| virtual | ~WriteVector_GlobalEvaluationData () | 
| Virtual d.  More... | |
| void | setCombineMode (CombineMode cm) | 
| Allow the user to set the combine mode (at any time)  More... | |
| CombineMode | getCombineMode () const | 
| Get the combine mode, to be used by sub classes.  More... | |
| virtual bool | isInitialized () const =0 | 
| Is this object initialized.  More... | |
| virtual void | globalToGhost (int) | 
| virtual void | ghostToGlobal (int mem)=0 | 
| virtual void | setOwnedVector (const Teuchos::RCP< Thyra::VectorBase< double > > &ownedVector)=0 | 
| Set the owned vector.  More... | |
| virtual Teuchos::RCP < 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... | |
| double & | operator[] (const int &lid) | 
| 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 < 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... | |
Private Attributes | |
| CombineMode | combineMode_ | 
This class encapsulates the needs of a gather operation to do a halo exchange.
Definition at line 61 of file Panzer_WriteVector_GlobalEvaluationData.hpp.
when you gho from ghost to global, combine with a particular mode
| Enumerator | |
|---|---|
| CM_Sum | |
| CM_Max | |
| CM_Min | |
| CM_Insert | |
Definition at line 65 of file Panzer_WriteVector_GlobalEvaluationData.hpp.
      
  | 
  inline | 
Default constructor, set combine mode to sum right away.
Definition at line 68 of file Panzer_WriteVector_GlobalEvaluationData.hpp.
      
  | 
  inlinevirtual | 
Virtual d.
Definition at line 71 of file Panzer_WriteVector_GlobalEvaluationData.hpp.
      
  | 
  inline | 
Allow the user to set the combine mode (at any time)
Definition at line 74 of file Panzer_WriteVector_GlobalEvaluationData.hpp.
      
  | 
  inline | 
Get the combine mode, to be used by sub classes.
Definition at line 77 of file Panzer_WriteVector_GlobalEvaluationData.hpp.
      
  | 
  pure virtual | 
Is this object initialized.
Implemented in panzer::EpetraVector_Write_GlobalEvaluationData, and panzer::BlockedVector_Write_GlobalEvaluationData.
      
  | 
  inlinevirtual | 
For this class, this method does nothing.
Implements panzer::GlobalEvaluationData.
Definition at line 85 of file Panzer_WriteVector_GlobalEvaluationData.hpp.
      
  | 
  pure virtual | 
For this class, this method does the halo exchange for the vector.
Implements panzer::GlobalEvaluationData.
Implemented in panzer::BlockedVector_Write_GlobalEvaluationData, and panzer::EpetraVector_Write_GlobalEvaluationData.
      
  | 
  pure virtual | 
Set the owned vector.
      
  | 
  pure virtual | 
Get the owned vector.
Implemented in panzer::EpetraVector_Write_GlobalEvaluationData, and panzer::BlockedVector_Write_GlobalEvaluationData.
      
  | 
  pure virtual | 
Get the ghosted vector.
Implemented in panzer::EpetraVector_Write_GlobalEvaluationData, and panzer::BlockedVector_Write_GlobalEvaluationData.
      
  | 
  inline | 
Element access.
Get the lid-th element in this GlobalEvaluationData.
lid.| [in] | lid | The local ID of the element you'd like to get. | 
lid-th element in this GlobalEvaluationData. Definition at line 114 of file Panzer_WriteVector_GlobalEvaluationData.hpp.
      
  | 
  protected | 
The Kokkos::View of the owned vector. 
Definition at line 129 of file Panzer_WriteVector_GlobalEvaluationData.hpp.
      
  | 
  protected | 
The Kokkos::View of the ghosted vector. 
Definition at line 135 of file Panzer_WriteVector_GlobalEvaluationData.hpp.
      
  | 
  private | 
Definition at line 139 of file Panzer_WriteVector_GlobalEvaluationData.hpp.
 1.8.5