EpetraExt  Development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
EpetraExt::Epetra_Vector_Handle Class Reference

#include <EpetraExt_HDF5_Handle.h>

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

Public Member Functions

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

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
inlinevirtual

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
inlinevirtual

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
inlinevirtual

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
inlinevirtual

Implements EpetraExt::Handle.

Definition at line 126 of file EpetraExt_HDF5_Handle.h.

bool EpetraExt::Epetra_Vector_Handle::HasDouble ( ) const
inlinevirtual

Implements EpetraExt::Handle.

Definition at line 131 of file EpetraExt_HDF5_Handle.h.

int EpetraExt::Epetra_Vector_Handle::IntSize ( const int  EID) const
inlinevirtual

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
inlinevirtual

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
inlinevirtual

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
inlinevirtual

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 
)
inlinevirtual

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
inlinevirtual

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 
)
inlinevirtual

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 ( )
inlinevirtual

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 ( )
inlinevirtual

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: