#include <ParFUM_internals.h>
Public Member Functions | |
void | check (const char *where) |
void | check (const char *where) |
FEM_chunk (FEM_Comm_t defaultComm_) | |
FEM_chunk (CkMigrateMessage *msg) | |
void | pup (PUP::er &p) |
~FEM_chunk () | |
FEM_Mesh * | lookup (int fem_mesh, const char *caller) |
FEM_Mesh * | getMesh (const char *caller) |
FEM_Mesh * | setMesh (const char *caller) |
void | print (int fem_mesh, int idxBase) |
int | getPrimary (int nodeNo) |
const FEM_Comm & | getComm (void) |
void | exchangeGhostLists (int elemType, int inLen, const int *inList, int idxbase) |
void | recvList (int elemType, int fmChk, int nIdx, const int *idx) |
const CkVec< int > & | getList (void) |
void | emptyList (void) |
void | reduce_field (int idxl_datatype, const void *nodes, void *outbuf, int op) |
void | reduce (int idxl_datatype, const void *inbuf, void *outbuf, int op) |
void | readField (int idxl_datatype, void *nodes, const char *fname) |
Static Public Member Functions | |
static FEM_chunk * | get (const char *caller) |
Return this thread's single static FEM_chunk instance:. | |
Data Fields | |
FEM_Mesh_list | meshes |
Global list of meshes. | |
int | default_read |
Index of default read mesh. | |
int | default_write |
Index of default write mesh. | |
FEM_Comm_t | defaultComm |
Default communicator to use. | |
int | thisIndex |
Global index (rank) in default communicator. | |
Private Member Functions | |
void | initFields (void) |
Private Attributes | |
CkVec< int > | listTmp |
FEM global data object. Keeps track of the global list of meshes, and the default read and write meshes.
This class was once an array element, back when the FEM framework was built directly on Charm++.
There's only one of this object per thread, and it's kept in a thread-private variable.
Definition at line 1724 of file ParFUM_internals.h.
FEM_chunk::FEM_chunk | ( | FEM_Comm_t | defaultComm_ | ) |
FEM_chunk::FEM_chunk | ( | CkMigrateMessage * | msg | ) |
FEM_chunk::~FEM_chunk | ( | ) |
void FEM_chunk::check | ( | const char * | where | ) |
void FEM_chunk::check | ( | const char * | where | ) | [inline] |
Definition at line 1740 of file ParFUM_internals.h.
void FEM_chunk::initFields | ( | void | ) | [private] |
void FEM_chunk::pup | ( | PUP::er & | p | ) |
Definition at line 1757 of file ParFUM_internals.h.
Referenced by copyAdaptAdj(), copyEdgeAdaptAdj(), CreateAdaptAdjacencies(), FEM_master_parallel_part(), FEM_Mesh_broadcast(), FEM_Mesh_partition(), lookupAdaptAdjacencies(), print(), replaceAdaptAdj(), and replaceAdaptAdjOnEdge().
FEM_Mesh* FEM_chunk::getMesh | ( | const char * | caller | ) | [inline] |
Definition at line 1761 of file ParFUM_internals.h.
Referenced by ParFUMShadowArray::ckJustMigrated(), femMeshModify::ckJustMigrated(), exchangeGhostLists(), and FEM_Sym_coordinates().
FEM_Mesh* FEM_chunk::setMesh | ( | const char * | caller | ) | [inline] |
Definition at line 1763 of file ParFUM_internals.h.
Referenced by FEM_Add_ghost_stencil(), FEM_Set_sym_nodes(), and FTN_NAME().
Definition at line 1767 of file ParFUM_internals.h.
const FEM_Comm& FEM_chunk::getComm | ( | void | ) | [inline] |
Definition at line 1768 of file ParFUM_internals.h.
Definition at line 1773 of file ParFUM_internals.h.
Referenced by FEM_Get_ghost_list(), FEM_Get_ghost_list_length(), and FTN_NAME().
void FEM_chunk::emptyList | ( | void | ) | [inline] |
Definition at line 1774 of file ParFUM_internals.h.
Referenced by FEM_Get_ghost_list(), and FTN_NAME().
void FEM_chunk::readField | ( | int | idxl_datatype, | |
void * | nodes, | |||
const char * | fname | |||
) |
Global list of meshes.
Definition at line 1727 of file ParFUM_internals.h.
Referenced by FEM_master_parallel_part(), FEM_Mesh_allocate(), FEM_Mesh_copy(), FEM_slave_parallel_part(), and FORTRAN_AS_C_RETURN().
Default communicator to use.
Definition at line 1732 of file ParFUM_internals.h.
Referenced by exchangeGhostLists().
Global index (rank) in default communicator.
Definition at line 1735 of file ParFUM_internals.h.
Referenced by print().
CkVec<int> FEM_chunk::listTmp [private] |