#include <ddt.h>
Definition at line 113 of file ddt.h.
CkDDT_DataType::CkDDT_DataType | ( | ) |
virtual CkDDT_DataType::~CkDDT_DataType | ( | ) | [virtual] |
CkDDT_DataType::CkDDT_DataType | ( | int | type | ) |
CkDDT_DataType::CkDDT_DataType | ( | const CkDDT_DataType & | obj, | |
MPI_Aint | _lb = 0 , |
|||
MPI_Aint | _extent = 0 | |||
) |
CkDDT_DataType& CkDDT_DataType::operator= | ( | const CkDDT_DataType & | obj | ) |
Reimplemented in final, CkDDT_Vector, final, CkDDT_HIndexed_Block, final, CkDDT_HIndexed, final, and final.
Definition at line 581 of file ddt.C.
References count, datatype, lb, name, p, size, and ub.
Referenced by CkDDT_HIndexed::pupType(), CkDDT_HIndexed_Block::pupType(), and CkDDT_Vector::pupType().
int CkDDT_DataType::getEnvelope | ( | int * | num_integers, | |
int * | num_addresses, | |||
int * | num_datatypes, | |||
int * | combiner | |||
) | const [virtual] |
Reimplemented in final, CkDDT_Vector, final, CkDDT_HIndexed_Block, final, CkDDT_HIndexed, final, and final.
Definition at line 606 of file ddt.C.
Referenced by CkDDT::getEnvelope().
int CkDDT_DataType::getContents | ( | int | max_integers, | |
int | max_addresses, | |||
int | max_datatypes, | |||
int | array_of_integers[], | |||
MPI_Aint | array_of_addresses[], | |||
int | array_of_datatypes[] | |||
) | const [virtual] |
Reimplemented in final, CkDDT_Vector, final, CkDDT_HIndexed_Block, final, CkDDT_HIndexed, final, and final.
Definition at line 616 of file ddt.C.
Referenced by CkDDT::getContents().
virtual size_t CkDDT_DataType::serialize | ( | char * | userdata, | |
char * | buffer, | |||
int | num, | |||
int | msgLength, | |||
CkDDT_Dir | dir | |||
) | const [inline, virtual] |
Reimplemented in final, CkDDT_Vector, final, CkDDT_HIndexed_Block, final, CkDDT_HIndexed, final, and final.
Definition at line 151 of file ddt.h.
References datatype, extent, iscontig, min(), PACK, serializeContig(), and size.
Referenced by AMPI_API_IMPL(), copyDatatype(), makeGatherMsg(), makeGathervMsg(), and makeRednMsg().
Reimplemented in final, CkDDT_Vector, final, CkDDT_HIndexed_Block, final, CkDDT_HIndexed, final, and final.
Definition at line 569 of file ddt.C.
References CkDDT::getSize().
Referenced by AMPI_API_IMPL().
bool CkDDT_DataType::isContig | ( | ) | const [inline] |
Definition at line 174 of file ddt.h.
References iscontig.
Referenced by copyDatatype(), CkDDT::isContig(), makeGatherMsg(), makeGathervMsg(), and makeRednMsg().
Definition at line 175 of file ddt.h.
Referenced by AMPI_API_IMPL(), copyDatatype(), CkDDT::getSize(), makeGatherMsg(), makeGathervMsg(), makeRednMsg(), MPI_Pack_size(), and MPID_Datatype_get_size_macro().
MPI_Aint CkDDT_DataType::getExtent | ( | ) | const [inline] |
Definition at line 176 of file ddt.h.
References extent.
Referenced by AMPI_API_IMPL(), CkDDT::getExtent(), MPID_Datatype_get_extent_macro(), CkDDT::newIndexed(), and CkDDT::newIndexedBlock().
int CkDDT_DataType::getBaseSize | ( | ) | const [inline] |
Definition at line 177 of file ddt.h.
References baseSize.
Referenced by AMPI_API_IMPL().
MPI_Aint CkDDT_DataType::getLB | ( | ) | const [inline] |
Definition at line 178 of file ddt.h.
References lb.
Referenced by CkDDT::getLB(), and handle_MPI_BOTTOM().
MPI_Aint CkDDT_DataType::getUB | ( | ) | const [inline] |
Definition at line 179 of file ddt.h.
References ub.
Referenced by CkDDT::getUB().
MPI_Aint CkDDT_DataType::getTrueExtent | ( | ) | const [inline] |
Definition at line 180 of file ddt.h.
References trueExtent.
Referenced by CkDDT::getTrueExtent().
MPI_Aint CkDDT_DataType::getTrueLB | ( | ) | const [inline] |
Definition at line 181 of file ddt.h.
References trueLB.
Referenced by CkDDT::getTrueLB().
int CkDDT_DataType::getBaseIndex | ( | ) | const [inline] |
CkDDT_DataType* CkDDT_DataType::getBaseType | ( | ) | const [inline] |
Definition at line 183 of file ddt.h.
References baseType.
Referenced by CkDDT::getContents().
MPI_Aint CkDDT_DataType::getBaseExtent | ( | ) | const [inline] |
int CkDDT_DataType::getCount | ( | void | ) | const [inline] |
Reimplemented in final.
Definition at line 185 of file ddt.h.
References count.
Referenced by CkDDT::getContents().
int CkDDT_DataType::getType | ( | ) | const [inline] |
Reimplemented in final, final, final, final, final, final, final, final, final, final, and final.
Definition at line 186 of file ddt.h.
References datatype.
Referenced by AMPI_API_IMPL(), CkDDT::createDup(), CkDDT::createResized(), and CkDDT::getContents().
int CkDDT_DataType::getNumElements | ( | ) | const [inline] |
void CkDDT_DataType::incRefCount | ( | ) | [inline] |
Definition at line 188 of file ddt.h.
References datatype, and refCount.
Referenced by CkDDT::getContents().
int CkDDT_DataType::decRefCount | ( | ) | [inline] |
vector<int>& CkDDT_DataType::getKeyvals | ( | ) | [inline] |
void CkDDT_DataType::setName | ( | const char * | src | ) | [inline] |
Definition at line 204 of file ddt.h.
References CkDDT_SetName(), name, and src.
Referenced by CkDDT::setName().
void CkDDT_DataType::getName | ( | char * | dest, | |
int * | len | |||
) | const [inline] |
void CkDDT_DataType::setAbsolute | ( | bool | arg | ) | [inline] |
Definition at line 210 of file ddt.h.
References isAbsolute.
Referenced by handle_MPI_BOTTOM().
bool CkDDT_DataType::iscontig [protected] |
bool CkDDT_DataType::isAbsolute [protected] |
int CkDDT_DataType::size [protected] |
int CkDDT_DataType::count [protected] |
int CkDDT_DataType::datatype [protected] |
Definition at line 120 of file ddt.h.
Referenced by decRefCount(), getType(), incRefCount(), and serialize().
int CkDDT_DataType::refCount [protected] |
int CkDDT_DataType::baseSize [protected] |
int CkDDT_DataType::baseIndex [protected] |
int CkDDT_DataType::numElements [protected] |
MPI_Aint CkDDT_DataType::extent [protected] |
MPI_Aint CkDDT_DataType::ub [protected] |
MPI_Aint CkDDT_DataType::lb [protected] |
MPI_Aint CkDDT_DataType::trueExtent [protected] |
MPI_Aint CkDDT_DataType::trueLB [protected] |
MPI_Aint CkDDT_DataType::baseExtent [protected] |
CkDDT_DataType* CkDDT_DataType::baseType [protected] |
vector<int> CkDDT_DataType::keyvals [protected] |
string CkDDT_DataType::name [protected] |