EpetraExt Development
Loading...
Searching...
No Matches
Public Member Functions | List of all members
EpetraExt::Handle Class Referenceabstract

#include <EpetraExt_HDF5_Handle.h>

Inheritance diagram for EpetraExt::Handle:
Inheritance graph
[legend]

Public Member Functions

virtual ~Handle ()
 
virtual int NumMyElements () const =0
 Returns the local number of elements.
 
virtual int NumGlobalElements () const =0
 Returns the global number of elements.
 
virtual std::string Type () const =0
 Returns the identifier of the distributed object.
 
virtual bool HasInt () const =0
 
virtual bool HasDouble () const =0
 
virtual int IntSize (const int EID) const =0
 Returns the size of integer data for local element EID.
 
virtual int DoubleSize (const int EID) const =0
 Returns the size of double data for local element EID.
 
virtual int GetLabels (std::vector< std::string > &IntLabels, std::vector< std::string > &DoubleLabels) const =0
 Packs all global information.
 
virtual int GetLabels (std::vector< std::string > &IntLabels, std::vector< int > &IntLabelsData, std::vector< std::string > &DoubleLabels, std::vector< double > &DoubleLabelsData) const =0
 Packs all global information.
 
virtual int SetLabels (const std::vector< int > &IntLabelsData, const std::vector< double > &DoubleLabelsData)=0
 Sets global information.
 
virtual int Pack (const int EID, int *IntData, double *DoubleData) const =0
 Packs all data for local element EID in the specified arrays.
 
virtual int UnPack (const int EID, int IntSize, int *IntData, int DoubleSize, double *DoubleData)=0
 Unpacks all data for local element EID in the specified arrays.
 
virtual int Initialize ()=0
 Performs any initialization procedure before unpacking.
 
virtual int Finalize ()=0
 Performs any finalization procedure after unpacking.
 

Detailed Description

Definition at line 49 of file EpetraExt_HDF5_Handle.h.

Constructor & Destructor Documentation

◆ ~Handle()

virtual EpetraExt::Handle::~Handle ( )
inlinevirtual

Definition at line 52 of file EpetraExt_HDF5_Handle.h.

Member Function Documentation

◆ NumMyElements()

virtual int EpetraExt::Handle::NumMyElements ( ) const
pure virtual

Returns the local number of elements.

Implemented in EpetraExt::Epetra_Vector_Handle.

◆ NumGlobalElements()

virtual int EpetraExt::Handle::NumGlobalElements ( ) const
pure virtual

Returns the global number of elements.

Implemented in EpetraExt::Epetra_Vector_Handle.

◆ Type()

virtual std::string EpetraExt::Handle::Type ( ) const
pure virtual

Returns the identifier of the distributed object.

Implemented in EpetraExt::Epetra_Vector_Handle.

◆ HasInt()

virtual bool EpetraExt::Handle::HasInt ( ) const
pure virtual

◆ HasDouble()

virtual bool EpetraExt::Handle::HasDouble ( ) const
pure virtual

◆ IntSize()

virtual int EpetraExt::Handle::IntSize ( const int EID) const
pure virtual

Returns the size of integer data for local element EID.

Implemented in EpetraExt::Epetra_Vector_Handle.

◆ DoubleSize()

virtual int EpetraExt::Handle::DoubleSize ( const int EID) const
pure virtual

Returns the size of double data for local element EID.

Implemented in EpetraExt::Epetra_Vector_Handle.

◆ GetLabels() [1/2]

virtual int EpetraExt::Handle::GetLabels ( std::vector< std::string > & IntLabels,
std::vector< std::string > & DoubleLabels ) const
pure virtual

Packs all global information.

Implemented in EpetraExt::Epetra_Vector_Handle.

◆ GetLabels() [2/2]

virtual int EpetraExt::Handle::GetLabels ( std::vector< std::string > & IntLabels,
std::vector< int > & IntLabelsData,
std::vector< std::string > & DoubleLabels,
std::vector< double > & DoubleLabelsData ) const
pure virtual

Packs all global information.

Implemented in EpetraExt::Epetra_Vector_Handle.

◆ SetLabels()

virtual int EpetraExt::Handle::SetLabels ( const std::vector< int > & IntLabelsData,
const std::vector< double > & DoubleLabelsData )
pure virtual

Sets global information.

Implemented in EpetraExt::Epetra_Vector_Handle.

◆ Pack()

virtual int EpetraExt::Handle::Pack ( const int EID,
int * IntData,
double * DoubleData ) const
pure virtual

Packs all data for local element EID in the specified arrays.

Implemented in EpetraExt::Epetra_Vector_Handle.

◆ UnPack()

virtual int EpetraExt::Handle::UnPack ( const int EID,
int IntSize,
int * IntData,
int DoubleSize,
double * DoubleData )
pure virtual

Unpacks all data for local element EID in the specified arrays.

Implemented in EpetraExt::Epetra_Vector_Handle.

◆ Initialize()

virtual int EpetraExt::Handle::Initialize ( )
pure virtual

Performs any initialization procedure before unpacking.

Implemented in EpetraExt::Epetra_Vector_Handle.

◆ Finalize()

virtual int EpetraExt::Handle::Finalize ( )
pure virtual

Performs any finalization procedure after unpacking.

Implemented in EpetraExt::Epetra_Vector_Handle.


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