#include <CommMatrix.h>
Definition at line 6 of file CommMatrix.h.
◆ CommMatrix() [1/2]
| CommMatrix::CommMatrix |
( |
unsigned |
ssz = 1, |
|
|
unsigned |
rsz = 1 |
|
) |
| |
Definition at line 6 of file CommMatrix.cc.
References _mat, _rsz, and _ssz.
10 _mat=
new long[ssz*rsz];
12 std::cerr<<
"[new] CommMatrix -- ssz: "<<
_ssz<<
" rsz:"<<
_rsz<<std::endl;
13 std::cerr<<
"[new] Alloc"<<(
void*)
_mat<<std::endl;
◆ CommMatrix() [2/2]
◆ ~CommMatrix()
| CommMatrix::~CommMatrix |
( |
| ) |
|
Definition at line 31 of file CommMatrix.cc.
References _mat.
34 std::cerr<<
"[del] free"<<(
void*)
_mat<<std::endl;
38 std::cerr<<
"[del] CommMatrix"<<std::endl;
◆ _get_mat()
| long* CommMatrix::_get_mat |
( |
| ) |
const |
|
inlineprivate |
◆ add()
| void CommMatrix::add |
( |
unsigned |
sid, |
|
|
unsigned |
rid, |
|
|
long |
val |
|
) |
| |
|
inline |
◆ dump()
| void CommMatrix::dump |
( |
| ) |
const |
◆ get()
| long CommMatrix::get |
( |
unsigned |
sid, |
|
|
unsigned |
rid |
|
) |
| const |
|
inline |
◆ getReceiverSize()
| unsigned CommMatrix::getReceiverSize |
( |
| ) |
const |
|
inline |
◆ getSenderSize()
| unsigned CommMatrix::getSenderSize |
( |
| ) |
const |
|
inline |
◆ set()
| void CommMatrix::set |
( |
unsigned |
sid, |
|
|
unsigned |
rid, |
|
|
long |
val |
|
) |
| |
|
inline |
◆ sub()
| void CommMatrix::sub |
( |
unsigned |
sid, |
|
|
unsigned |
rid, |
|
|
long |
val |
|
) |
| |
|
inline |
◆ _mat
◆ _rsz
| unsigned CommMatrix::_rsz |
|
private |
◆ _ssz
| unsigned CommMatrix::_ssz |
|
private |
The documentation for this class was generated from the following files: