#include <fem_mesh.h>
Public Member Functions | |
FEM_Comm_Holder (FEM_Comm *sendComm, FEM_Comm *recvComm) | |
void | pup (PUP::er &p) |
~FEM_Comm_Holder (void) | |
IDXL_Comm_t | getIndex (IDXL_Chunk *c) |
Return our IDXL_Comm_t, registering with chunk if needed. | |
FEM_Comm_Holder (FEM_Comm *sendComm, FEM_Comm *recvComm) | |
void | pup (PUP::er &p) |
~FEM_Comm_Holder (void) | |
IDXL_Comm_t | getIndex (IDXL_Chunk *c) |
Return our IDXL_Comm_t, registering with chunk if needed. | |
Private Member Functions | |
void | registerIdx (IDXL_Chunk *c) |
void | registerIdx (IDXL_Chunk *c) |
Private Attributes | |
IDXL | comm |
bool | registered |
IDXL_Comm_t | idx |
We want the FEM_Comm/IDXL_Side's to be accessible to *both* FEM routines (via these data structures) and IDXL routines (via an idxl->addStatic registration).
Hence this class, which manages IDXL's view of FEM's data structures.
Definition at line 36 of file fem_mesh.h.
FEM_Comm_Holder::~FEM_Comm_Holder | ( | void | ) |
Definition at line 40 of file fem_mesh.C.
References caller, IDXL_Chunk::destroy(), IDXL_Chunk::getNULL(), idx, and registered.
FEM_Comm_Holder::~FEM_Comm_Holder | ( | void | ) |
void FEM_Comm_Holder::registerIdx | ( | IDXL_Chunk * | c | ) | [private] |
Definition at line 24 of file fem_mesh.C.
References IDXL_Chunk::addStatic(), assert, comm, idx, and registered.
Referenced by getIndex(), and pup().
void FEM_Comm_Holder::pup | ( | PUP::er & | p | ) |
Definition at line 32 of file fem_mesh.C.
References IDXL_Chunk::get(), idx, PUP::er::isUnpacking(), and registerIdx().
Referenced by FEM_Node::pup(), and FEM_Entity::pup().
IDXL_Comm_t FEM_Comm_Holder::getIndex | ( | IDXL_Chunk * | c | ) | [inline] |
Return our IDXL_Comm_t, registering with chunk if needed.
Definition at line 47 of file fem_mesh.h.
References idx, and registerIdx().
void FEM_Comm_Holder::registerIdx | ( | IDXL_Chunk * | c | ) | [private] |
void FEM_Comm_Holder::pup | ( | PUP::er & | p | ) |
IDXL_Comm_t FEM_Comm_Holder::getIndex | ( | IDXL_Chunk * | c | ) | [inline] |
Return our IDXL_Comm_t, registering with chunk if needed.
Definition at line 112 of file ParFUM_internals.h.
References idx, and registerIdx().
IDXL FEM_Comm_Holder::comm [private] |
bool FEM_Comm_Holder::registered [private] |
Definition at line 38 of file fem_mesh.h.
Referenced by FEM_Comm_Holder(), registerIdx(), and ~FEM_Comm_Holder().
IDXL_Comm_t FEM_Comm_Holder::idx [private] |
Definition at line 39 of file fem_mesh.h.
Referenced by FEM_Comm_Holder(), getIndex(), pup(), registerIdx(), and ~FEM_Comm_Holder().