PPL Logo

FEM_Comm_Holder Class Reference
[ParFUM Unstructured Mesh Framework]

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). More...

#include <fem_mesh.h>

Collaboration diagram for FEM_Comm_Holder:

Collaboration graph
[legend]

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

Detailed Description

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

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.


Constructor & Destructor Documentation

FEM_Comm_Holder::FEM_Comm_Holder ( FEM_Comm sendComm,
FEM_Comm recvComm 
)

Definition at line 18 of file fem_mesh.C.

References idx, and registered.

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.

Here is the call graph for this function:

FEM_Comm_Holder::FEM_Comm_Holder ( FEM_Comm sendComm,
FEM_Comm recvComm 
)

FEM_Comm_Holder::~FEM_Comm_Holder ( void   ) 


Member Function Documentation

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the call graph for this function:

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

Here is the call graph for this function:


Field Documentation

Definition at line 37 of file fem_mesh.h.

Referenced by registerIdx().

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


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

Generated on Mon Sep 21 08:24:02 2020 for Charm++ by  doxygen 1.5.5