EpetraExt Development
Public Member Functions
EpetraExt::Epetra_Vector_Handle Class Reference

#include <EpetraExt_HDF5_Handle.h>

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

List of all members.

Public Member Functions

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

Detailed Description

Definition at line 101 of file EpetraExt_HDF5_Handle.h.


Constructor & Destructor Documentation

EpetraExt::Epetra_Vector_Handle::Epetra_Vector_Handle ( Epetra_Vector obj) [inline]

Definition at line 104 of file EpetraExt_HDF5_Handle.h.


Member Function Documentation

int EpetraExt::Epetra_Vector_Handle::NumMyElements ( ) const [inline, virtual]

Returns the local number of elements.

Implements EpetraExt::Handle.

Definition at line 109 of file EpetraExt_HDF5_Handle.h.

int EpetraExt::Epetra_Vector_Handle::NumGlobalElements ( ) const [inline, virtual]

Returns the global number of elements.

Implements EpetraExt::Handle.

Definition at line 115 of file EpetraExt_HDF5_Handle.h.

std::string EpetraExt::Epetra_Vector_Handle::Type ( ) const [inline, virtual]

Returns the identifier of the distributed object.

Implements EpetraExt::Handle.

Definition at line 121 of file EpetraExt_HDF5_Handle.h.

bool EpetraExt::Epetra_Vector_Handle::HasInt ( ) const [inline, virtual]

Implements EpetraExt::Handle.

Definition at line 126 of file EpetraExt_HDF5_Handle.h.

bool EpetraExt::Epetra_Vector_Handle::HasDouble ( ) const [inline, virtual]

Implements EpetraExt::Handle.

Definition at line 131 of file EpetraExt_HDF5_Handle.h.

int EpetraExt::Epetra_Vector_Handle::IntSize ( const int  EID) const [inline, virtual]

Returns the size of integer data for local element EID.

Implements EpetraExt::Handle.

Definition at line 137 of file EpetraExt_HDF5_Handle.h.

int EpetraExt::Epetra_Vector_Handle::DoubleSize ( const int  EID) const [inline, virtual]

Returns the size of double data for local element EID.

Implements EpetraExt::Handle.

Definition at line 143 of file EpetraExt_HDF5_Handle.h.

int EpetraExt::Epetra_Vector_Handle::GetLabels ( std::vector< std::string > &  IntLabels,
std::vector< std::string > &  DoubleLabels 
) const [inline, virtual]

Packs all global information.

Implements EpetraExt::Handle.

Definition at line 149 of file EpetraExt_HDF5_Handle.h.

int EpetraExt::Epetra_Vector_Handle::GetLabels ( std::vector< std::string > &  IntLabels,
std::vector< int > &  IntLabelsData,
std::vector< std::string > &  DoubleLabels,
std::vector< double > &  DoubleLabelsData 
) const [inline, virtual]

Packs all global information.

Implements EpetraExt::Handle.

Definition at line 159 of file EpetraExt_HDF5_Handle.h.

int EpetraExt::Epetra_Vector_Handle::SetLabels ( const std::vector< int > &  IntLabelsData,
const std::vector< double > &  DoubleLabelsData 
) [inline, virtual]

Sets global information.

Implements EpetraExt::Handle.

Definition at line 166 of file EpetraExt_HDF5_Handle.h.

int EpetraExt::Epetra_Vector_Handle::Pack ( const int  EID,
int *  IntData,
double *  DoubleData 
) const [inline, virtual]

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

Implements EpetraExt::Handle.

Definition at line 173 of file EpetraExt_HDF5_Handle.h.

int EpetraExt::Epetra_Vector_Handle::UnPack ( const int  EID,
int  IntSize,
int *  IntData,
int  DoubleSize,
double *  DoubleData 
) [inline, virtual]

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

Implements EpetraExt::Handle.

Definition at line 181 of file EpetraExt_HDF5_Handle.h.

int EpetraExt::Epetra_Vector_Handle::Initialize ( ) [inline, virtual]

Performs any initialization procedure before unpacking.

Implements EpetraExt::Handle.

Definition at line 190 of file EpetraExt_HDF5_Handle.h.

int EpetraExt::Epetra_Vector_Handle::Finalize ( ) [inline, virtual]

Performs any finalization procedure after unpacking.

Implements EpetraExt::Handle.

Definition at line 197 of file EpetraExt_HDF5_Handle.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines