EpetraExt Development
Public Member Functions
EpetraExt::Handle Class Reference

#include <EpetraExt_HDF5_Handle.h>

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

List of all members.

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 38 of file EpetraExt_HDF5_Handle.h.


Constructor & Destructor Documentation

virtual EpetraExt::Handle::~Handle ( ) [inline, virtual]

Definition at line 41 of file EpetraExt_HDF5_Handle.h.


Member Function Documentation

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

Returns the local number of elements.

Implemented in EpetraExt::Epetra_Vector_Handle.

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

Returns the global number of elements.

Implemented in EpetraExt::Epetra_Vector_Handle.

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

Returns the identifier of the distributed object.

Implemented in EpetraExt::Epetra_Vector_Handle.

virtual bool EpetraExt::Handle::HasInt ( ) const [pure virtual]
virtual bool EpetraExt::Handle::HasDouble ( ) const [pure virtual]
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.

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.

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.

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.

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.

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.

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.

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

Performs any initialization procedure before unpacking.

Implemented in EpetraExt::Epetra_Vector_Handle.

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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines