EpetraExt Package Browser (Single Doxygen Collection)  Development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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. More...
 
virtual int NumGlobalElements () const =0
 Returns the global number of elements. More...
 
virtual std::string Type () const =0
 Returns the identifier of the distributed object. More...
 
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. More...
 
virtual int DoubleSize (const int EID) const =0
 Returns the size of double data for local element EID. More...
 
virtual int GetLabels (std::vector< std::string > &IntLabels, std::vector< std::string > &DoubleLabels) const =0
 Packs all global information. More...
 
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. More...
 
virtual int SetLabels (const std::vector< int > &IntLabelsData, const std::vector< double > &DoubleLabelsData)=0
 Sets global information. More...
 
virtual int Pack (const int EID, int *IntData, double *DoubleData) const =0
 Packs all data for local element EID in the specified arrays. More...
 
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. More...
 
virtual int Initialize ()=0
 Performs any initialization procedure before unpacking. More...
 
virtual int Finalize ()=0
 Performs any finalization procedure after unpacking. More...
 

Detailed Description

Definition at line 55 of file EpetraExt_HDF5_Handle.h.

Constructor & Destructor Documentation

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

Definition at line 58 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: