| 
    Panzer
    Version of the Day
    
   | 
 
This class provides a boundary exchange communication mechanism for vectors. More...
#include <Panzer_EpetraVector_Write_GlobalEvaluationData.hpp>

Public Member Functions | |
| EpetraVector_Write_GlobalEvaluationData () | |
| Default Constructor.  More... | |
| EpetraVector_Write_GlobalEvaluationData (const EpetraVector_Write_GlobalEvaluationData &src) | |
| Copy Constructor.  More... | |
| EpetraVector_Write_GlobalEvaluationData (const Teuchos::RCP< const Epetra_Export > &exporter, const Teuchos::RCP< const Epetra_Map > &ghostedMap, const Teuchos::RCP< const Epetra_Map > &ownedMap) | |
| Initializing Constructor.  More... | |
| void | initialize (const Teuchos::RCP< const Epetra_Export > &exporter, const Teuchos::RCP< const Epetra_Map > &ghostedMap, const Teuchos::RCP< const Epetra_Map > &ownedMap) | 
Initialize this object with some Epetra communication objects.  More... | |
| virtual void | ghostToGlobal (int mem) | 
| Communicate the ghosted data to the owned vector.  More... | |
| virtual void | initializeData () | 
| Clear out the ghosted vector. // JMG: Is this right?  More... | |
| virtual bool | requiresDirichletAdjustment () const | 
| Determine if a Dirichlet adjustment is necessary.  More... | |
| void | setOwnedVector_Epetra (const Teuchos::RCP< Epetra_Vector > &ownedVector) | 
Set the owned vector (Epetra version).  More... | |
| Teuchos::RCP< Epetra_Vector > | getGhostedVector_Epetra () const | 
Get the ghosted vector (Epetra version).  More... | |
| void | setOwnedVector (const Teuchos::RCP< Thyra::VectorBase< double >> &ownedVector) | 
Set the owned vector (Thyra version).  More... | |
| Teuchos::RCP < Thyra::VectorBase< double > >  | getOwnedVector () const | 
Get the owned vector (Thyra version).  More... | |
| Teuchos::RCP < Thyra::VectorBase< double > >  | getGhostedVector () const | 
Get the ghosted vector (Thyra version).  More... | |
| virtual bool | isInitialized () const | 
| Is this object initialized?  More... | |
| void | print (std::ostream &os) const | 
| Print the object.  More... | |
  Public Member Functions inherited from panzer::WriteVector_GlobalEvaluationData | |
| 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 void | globalToGhost (int) | 
| virtual void | setOwnedVector (const Teuchos::RCP< Thyra::VectorBase< double > > &ownedVector)=0 | 
| Set the owned vector.  More... | |
| double & | operator[] (const int &lid) | 
| Element access.  More... | |
  Public Member Functions inherited from panzer::GlobalEvaluationData | |
| virtual | ~GlobalEvaluationData ()=0 | 
Private Attributes | |
| bool | isInitialized_ | 
| A flag indicating whether or not the object has been initialized.  More... | |
| Teuchos::RCP< const Epetra_Map > | ghostedMap_ | 
| The map corresponding to the ghosted vector.  More... | |
| Teuchos::RCP< const Epetra_Map > | ownedMap_ | 
| The map corresponding to the owned vector.  More... | |
| Teuchos::RCP< const  Thyra::VectorSpaceBase< double > >  | ghostedSpace_ | 
| The vector space corresponding to the ghosted vector.  More... | |
| Teuchos::RCP< const  Thyra::VectorSpaceBase< double > >  | ownedSpace_ | 
| The vector space corresponding to the owned vector.  More... | |
| Teuchos::RCP< const Epetra_Export > | exporter_ | 
| The exporter used to communicate between the owned and ghosted vectors.  More... | |
| Teuchos::RCP< Epetra_Vector > | ghostedVector_ | 
| The ghosted vector.  More... | |
| Teuchos::RCP < Thyra::VectorBase< double > >  | ownedVector_ | 
| The owned vector.  More... | |
Additional Inherited Members | |
  Public Types inherited from panzer::WriteVector_GlobalEvaluationData | |
| enum | CombineMode { CM_Sum, CM_Max, CM_Min, CM_Insert } | 
| when you gho from ghost to global, combine with a particular mode  More... | |
  Protected Attributes inherited from panzer::WriteVector_GlobalEvaluationData | |
| 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... | |
This class provides a boundary exchange communication mechanism for vectors.
Definition at line 76 of file Panzer_EpetraVector_Write_GlobalEvaluationData.hpp.
      
  | 
  inline | 
Default Constructor.
Definition at line 85 of file Panzer_EpetraVector_Write_GlobalEvaluationData.hpp.
      
  | 
  inline | 
Copy Constructor.
| [in] | src | The object to be copied. | 
Definition at line 96 of file Panzer_EpetraVector_Write_GlobalEvaluationData.hpp.
      
  | 
  inline | 
Initializing Constructor.
Initialize this object with some Epetra communication objects. This method must be called before an object of this type can be used.
| [in] | exporter | Exporter for doing communication from the owned to the ghosted vector. | 
| [in] | ghostedMap | Map describing the ghosted vector. | 
| [in] | ownedMap | Map describing the owned vector. | 
Definition at line 115 of file Panzer_EpetraVector_Write_GlobalEvaluationData.hpp.
| void panzer::EpetraVector_Write_GlobalEvaluationData::initialize | ( | const Teuchos::RCP< const Epetra_Export > & | exporter, | 
| const Teuchos::RCP< const Epetra_Map > & | ghostedMap, | ||
| const Teuchos::RCP< const Epetra_Map > & | ownedMap | ||
| ) | 
Initialize this object with some Epetra communication objects. 
This method must be called before an object of this type can be used.
| [in] | exporter | Exporter for doing communication from the owned to the ghosted vector. | 
| [in] | ghostedMap | Map describing the ghosted vector. | 
| [in] | ownedMap | Map describing the owned vector. | 
Definition at line 72 of file Panzer_EpetraVector_Write_GlobalEvaluationData.cpp.
      
  | 
  virtual | 
Communicate the ghosted data to the owned vector.
For this class, this method does the halo exchange for the vector.
| [in] | mem | Not needed for this class, but part of the GlobalEvaluationData interface.  | 
Implements panzer::WriteVector_GlobalEvaluationData.
Definition at line 109 of file Panzer_EpetraVector_Write_GlobalEvaluationData.cpp.
      
  | 
  virtual | 
Clear out the ghosted vector. // JMG: Is this right?
Implements panzer::GlobalEvaluationData.
Definition at line 156 of file Panzer_EpetraVector_Write_GlobalEvaluationData.cpp.
      
  | 
  inlinevirtual | 
Determine if a Dirichlet adjustment is necessary.
Implements panzer::GlobalEvaluationData.
Definition at line 166 of file Panzer_EpetraVector_Write_GlobalEvaluationData.hpp.
| void panzer::EpetraVector_Write_GlobalEvaluationData::setOwnedVector_Epetra | ( | const Teuchos::RCP< Epetra_Vector > & | ownedVector | ) | 
Set the owned vector (Epetra version). 
| [in] | ownedVector | An Epetra_Vector that you would like to set as the owned vector.  | 
Definition at line 173 of file Panzer_EpetraVector_Write_GlobalEvaluationData.cpp.
| Teuchos::RCP< Epetra_Vector > panzer::EpetraVector_Write_GlobalEvaluationData::getGhostedVector_Epetra | ( | ) | const | 
Get the ghosted vector (Epetra version). 
Epetra_Vector. Definition at line 193 of file Panzer_EpetraVector_Write_GlobalEvaluationData.cpp.
| void panzer::EpetraVector_Write_GlobalEvaluationData::setOwnedVector | ( | const Teuchos::RCP< Thyra::VectorBase< double >> & | ownedVector | ) | 
Set the owned vector (Thyra version). 
| [in] | ownedVector | A Thyra::VectorBase<double> that you would like to set as the owned vector.  | 
Definition at line 212 of file Panzer_EpetraVector_Write_GlobalEvaluationData.cpp.
      
  | 
  virtual | 
Get the owned vector (Thyra version). 
Thyra::VectorBase<double>. Implements panzer::WriteVector_GlobalEvaluationData.
Definition at line 231 of file Panzer_EpetraVector_Write_GlobalEvaluationData.cpp.
      
  | 
  virtual | 
Get the ghosted vector (Thyra version). 
Thyra::VectorBase<double>. Implements panzer::WriteVector_GlobalEvaluationData.
Definition at line 247 of file Panzer_EpetraVector_Write_GlobalEvaluationData.cpp.
      
  | 
  inlinevirtual | 
Is this object initialized?
Implements panzer::WriteVector_GlobalEvaluationData.
Definition at line 221 of file Panzer_EpetraVector_Write_GlobalEvaluationData.hpp.
      
  | 
  virtual | 
Print the object.
This is a diagnostic function for debugging purposes.
| [in,out] | os | The output stream to which the data should be printed. | 
Reimplemented from panzer::GlobalEvaluationData.
Definition at line 267 of file Panzer_EpetraVector_Write_GlobalEvaluationData.cpp.
      
  | 
  private | 
A flag indicating whether or not the object has been initialized.
Definition at line 244 of file Panzer_EpetraVector_Write_GlobalEvaluationData.hpp.
      
  | 
  private | 
The map corresponding to the ghosted vector.
Definition at line 249 of file Panzer_EpetraVector_Write_GlobalEvaluationData.hpp.
      
  | 
  private | 
The map corresponding to the owned vector.
Definition at line 254 of file Panzer_EpetraVector_Write_GlobalEvaluationData.hpp.
      
  | 
  private | 
The vector space corresponding to the ghosted vector.
Definition at line 259 of file Panzer_EpetraVector_Write_GlobalEvaluationData.hpp.
      
  | 
  private | 
The vector space corresponding to the owned vector.
Definition at line 264 of file Panzer_EpetraVector_Write_GlobalEvaluationData.hpp.
      
  | 
  private | 
The exporter used to communicate between the owned and ghosted vectors.
Definition at line 270 of file Panzer_EpetraVector_Write_GlobalEvaluationData.hpp.
      
  | 
  private | 
The ghosted vector.
Definition at line 275 of file Panzer_EpetraVector_Write_GlobalEvaluationData.hpp.
      
  | 
  private | 
The owned vector.
Definition at line 280 of file Panzer_EpetraVector_Write_GlobalEvaluationData.hpp.
 1.8.5