PPL Logo

CkDDT_Vector Class Reference

#include <ddt.h>

Inheritance diagram for CkDDT_Vector:

Inheritance graph
[legend]
Collaboration diagram for CkDDT_Vector:

Collaboration graph
[legend]

Public Member Functions

 CkDDT_Vector ()
 ~CkDDT_Vector () override
CkDDT_Vectoroperator= (const CkDDT_Vector &obj) noexcept
 CkDDT_Vector (int count, int blklen, int stride, int index, CkDDT_DataType *type) noexcept
 CkDDT_Vector (const CkDDT_Vector &obj, MPI_Aint _lb, MPI_Aint _extent) noexcept
size_t serialize (char *userdata, char *buffer, int num, int msgLength, CkDDT_Dir dir) const noexcept override
void pupType (PUP::er &p, CkDDT *ddt) noexcept override
int getEnvelope (int *ni, int *na, int *nd, int *combiner) const noexcept override
int getContents (int ni, int na, int nd, int i[], MPI_Aint a[], int d[]) const noexcept override
int getNumBasicElements (int bytes) const noexcept override

Protected Attributes

int blockLength
int strideLength

Detailed Description

Definition at line 239 of file ddt.h.


Constructor & Destructor Documentation

CkDDT_Vector::CkDDT_Vector (  ) 

CkDDT_Vector::~CkDDT_Vector (  )  [override]

CkDDT_Vector::CkDDT_Vector ( int  count,
int  blklen,
int  stride,
int  index,
CkDDT_DataType type 
)

Definition at line 715 of file ddt.C.

References abs(), count, datatype, oldType, size, stride, and ub.

Here is the call graph for this function:

CkDDT_Vector::CkDDT_Vector ( const CkDDT_Vector obj,
MPI_Aint  _lb,
MPI_Aint  _extent 
)


Member Function Documentation

CkDDT_Vector& CkDDT_Vector::operator= ( const CkDDT_Vector obj  ) 

size_t CkDDT_Vector::serialize ( char *  userdata,
char *  buffer,
int  num,
int  msgLength,
CkDDT_Dir  dir 
) const [override, virtual]

Reimplemented from CkDDT_DataType.

Reimplemented in final, final, final, final, and final.

Definition at line 787 of file ddt.C.

References count, int, min(), PACK, serializeContig(), and size_t.

Here is the call graph for this function:

void CkDDT_Vector::pupType ( PUP::er p,
CkDDT ddt 
) [override, virtual]

Reimplemented from CkDDT_DataType.

Reimplemented in final, final, final, final, and final.

Definition at line 817 of file ddt.C.

References p, and CkDDT_DataType::pupType().

Here is the call graph for this function:

int CkDDT_Vector::getEnvelope ( int ni,
int na,
int nd,
int combiner 
) const [override, virtual]

Reimplemented from CkDDT_DataType.

Reimplemented in final, final, final, final, and final.

Definition at line 828 of file ddt.C.

int CkDDT_Vector::getContents ( int  ni,
int  na,
int  nd,
int  i[],
MPI_Aint  a[],
int  d[] 
) const [override, virtual]

Reimplemented from CkDDT_DataType.

Reimplemented in final, final, final, final, and final.

Definition at line 838 of file ddt.C.

References count, and PUP::d.

int CkDDT_Vector::getNumBasicElements ( int  bytes  )  const [override, virtual]

Reimplemented from CkDDT_DataType.

Reimplemented in final, final, final, final, and final.

Definition at line 848 of file ddt.C.


Field Documentation

Definition at line 242 of file ddt.h.

Definition at line 243 of file ddt.h.


The documentation for this class was generated from the following files:

Generated on Mon Sep 21 08:19:52 2020 for Charm++ by  doxygen 1.5.5