PPL Logo

FEMchunk Class Reference

FEM global data object. More...

#include <fem_impl.h>

Collaboration diagram for FEMchunk:

Collaboration graph
[legend]

Public Member Functions

void check (const char *where)
void check (const char *where)
 FEMchunk (FEM_Comm_t defaultComm_)
 FEMchunk (CkMigrateMessage *msg)
void pup (PUP::er &p)
 ~FEMchunk ()
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 FEMchunkget (const char *caller)
 Return this thread's single static FEMchunk 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

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 205 of file fem_impl.h.


Constructor & Destructor Documentation

FEMchunk::FEMchunk ( FEM_Comm_t  defaultComm_  ) 

Referenced by FEM_Init().

Here is the caller graph for this function:

FEMchunk::FEMchunk ( CkMigrateMessage msg  ) 

FEMchunk::~FEMchunk (  ) 


Member Function Documentation

void FEMchunk::check ( const char *  where  ) 

Referenced by exchangeGhostLists().

Here is the caller graph for this function:

void FEMchunk::check ( const char *  where  )  [inline]

Definition at line 221 of file fem_impl.h.

void FEMchunk::initFields ( void   )  [private]

void FEMchunk::pup ( PUP::er p  ) 

Referenced by pupFEM_Chunk().

Here is the caller graph for this function:

FEMchunk * FEMchunk::get ( const char *  caller  )  [static]

Return this thread's single static FEMchunk instance:.

Definition at line 47 of file fem.C.

References c, FEM_Abort(), FEM_globalID, and TCHARM_Get_global().

Referenced by FEM_Exchange_ghost_lists(), FEM_Get_ghost_list(), FEM_Get_ghost_list_length(), FEM_master_parallel_part(), FEM_Mesh_allocate(), FEM_Mesh_copy(), FEM_Mesh_partition(), FEM_Set_sym_nodes(), FEM_slave_parallel_part(), FEM_Sym_coordinates(), FORTRAN_AS_C_RETURN(), and FTN_NAME().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 238 of file fem_impl.h.

References FEM_T_List< T >::lookup(), and meshes.

Referenced by FEM_master_parallel_part(), FEM_Mesh_partition(), and print().

Here is the call graph for this function:

Here is the caller graph for this function:

FEM_Mesh* FEMchunk::getMesh ( const char *  caller  )  [inline]

Definition at line 242 of file fem_impl.h.

References default_read, FEM_T_List< T >::lookup(), and meshes.

Referenced by exchangeGhostLists(), FEM_Sym_coordinates(), getComm(), and getPrimary().

Here is the call graph for this function:

Here is the caller graph for this function:

FEM_Mesh* FEMchunk::setMesh ( const char *  caller  )  [inline]

Definition at line 244 of file fem_impl.h.

References default_write, FEM_T_List< T >::lookup(), and meshes.

Referenced by FEM_Add_ghost_stencil(), FEM_Set_sym_nodes(), and FTN_NAME().

Here is the call graph for this function:

Here is the caller graph for this function:

void FEMchunk::print ( int  fem_mesh,
int  idxBase 
)

Definition at line 1403 of file fem.C.

References lookup(), FEM_Mesh::print(), and thisIndex.

Here is the call graph for this function:

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

Definition at line 248 of file fem_impl.h.

References getMesh(), FEM_Node::getPrimary(), and FEM_Mesh::node.

Here is the call graph for this function:

const FEM_Comm& FEMchunk::getComm ( void   )  [inline]

Definition at line 249 of file fem_impl.h.

References getMesh(), FEM_Mesh::node, and FEM_Node::shared.

Here is the call graph for this function:

void FEMchunk::exchangeGhostLists ( int  elemType,
int  inLen,
const int inList,
int  idxbase 
)

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

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

Definition at line 254 of file fem_impl.h.

References listTmp.

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

Here is the caller graph for this function:

void FEMchunk::emptyList ( void   )  [inline]

Definition at line 255 of file fem_impl.h.

References CkVec< T >::length(), and listTmp.

Referenced by FEM_Get_ghost_list(), and FTN_NAME().

Here is the call graph for this function:

Here is the caller graph for this function:

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

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

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


Field Documentation

Index of default read mesh.

Definition at line 209 of file fem_impl.h.

Referenced by getMesh().

Index of default write mesh.

Definition at line 210 of file fem_impl.h.

Referenced by setMesh().

Default communicator to use.

Definition at line 213 of file fem_impl.h.

Referenced by exchangeGhostLists().

Global index (rank) in default communicator.

Definition at line 216 of file fem_impl.h.

Referenced by print().

Definition at line 225 of file fem_impl.h.

Referenced by emptyList(), exchangeGhostLists(), and getList().


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

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