PPL Logo

FEM_chunk Class Reference
[ParFUM Unstructured Mesh Framework]

A collection of meshes on one processor. More...

#include <ParFUM_internals.h>

Collaboration diagram for FEM_chunk:

Collaboration graph
[legend]

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_Meshlookup (int fem_mesh, const char *caller)
FEM_MeshgetMesh (const char *caller)
FEM_MeshsetMesh (const char *caller)
void print (int fem_mesh, int idxBase)
int getPrimary (int nodeNo)
const FEM_CommgetComm (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_chunkget (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< intlistTmp

Detailed Description

A collection of meshes on one processor.

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.


Constructor & Destructor Documentation

FEM_chunk::FEM_chunk ( FEM_Comm_t  defaultComm_  ) 

Referenced by FEM_Init().

Here is the caller graph for this function:

FEM_chunk::FEM_chunk ( CkMigrateMessage msg  ) 

FEM_chunk::~FEM_chunk (  ) 


Member Function Documentation

void FEM_chunk::check ( const char *  where  ) 

Referenced by exchangeGhostLists().

Here is the caller graph for this function:

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  ) 

Referenced by pupFEM_Chunk().

Here is the caller graph for this function:

FEM_Mesh* FEM_chunk::lookup ( int  fem_mesh,
const char *  caller 
) [inline]

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

Here is the caller graph for this function:

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

Here is the caller graph for this function:

int FEM_chunk::getPrimary ( int  nodeNo  )  [inline]

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.

void FEM_chunk::recvList ( int  elemType,
int  fmChk,
int  nIdx,
const int idx 
)

const CkVec<int>& FEM_chunk::getList ( void   )  [inline]

Definition at line 1773 of file ParFUM_internals.h.

Referenced by FEM_Get_ghost_list(), FEM_Get_ghost_list_length(), and FTN_NAME().

Here is the caller graph for this function:

void FEM_chunk::emptyList ( void   )  [inline]

Definition at line 1774 of file ParFUM_internals.h.

Referenced by FEM_Get_ghost_list(), and FTN_NAME().

Here is the caller graph for this function:

void FEM_chunk::reduce_field ( int  idxl_datatype,
const void *  nodes,
void *  outbuf,
int  op 
)

void FEM_chunk::reduce ( int  idxl_datatype,
const void *  inbuf,
void *  outbuf,
int  op 
)

void FEM_chunk::readField ( int  idxl_datatype,
void *  nodes,
const char *  fname 
)


Field Documentation

Index of default read mesh.

Definition at line 1728 of file ParFUM_internals.h.

Index of default write mesh.

Definition at line 1729 of file ParFUM_internals.h.

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

Definition at line 1744 of file ParFUM_internals.h.

Referenced by exchangeGhostLists().


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

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