Go to the source code of this file.
int FEM_Mesh_Parallel_broadcast | ( | int | fem_mesh, | |
int | masterRank, | |||
FEM_Comm_t | comm_context | |||
) |
Definition at line 23 of file parallel_part.C.
References Converse::CkMyPe(), CmiMemoryUsage(), FEM_master_parallel_part(), FEM_slave_parallel_part(), MPI_Barrier, and MPI_Comm_rank.
Referenced by FEM_Mesh_broadcast().
int FEM_master_parallel_part | ( | int | fem_mesh, | |
int | masterRank, | |||
FEM_Comm_t | comm_context | |||
) |
Definition at line 43 of file parallel_part.C.
Referenced by FEM_Mesh_Parallel_broadcast().
int FEM_slave_parallel_part | ( | int | fem_mesh, | |
int | masterRank, | |||
FEM_Comm_t | comm_context | |||
) |
Definition at line 197 of file parallel_part.C.
Referenced by FEM_Mesh_Parallel_broadcast().
struct partconndata* FEM_call_parmetis | ( | struct conndata & | data, | |
FEM_Comm_t | comm_context | |||
) | [read] |
Definition at line 304 of file parallel_part.C.
References conndata::arr1, conndata::arr2, edgecut, partconndata::eind, eind, partconndata::eptr, eptr, MPI_Barrier, MPI_Comm_rank, ncon, conndata::nelem, partconndata::nelem, numflag, partconndata::part, partconndata::startindex, tpwgts, and ubvec.
Referenced by FEM_master_parallel_part(), and FEM_slave_parallel_part().
void FEM_write_nodepart | ( | MSA1DINTLIST & | nodepart, | |
struct partconndata * | data | |||
) |
Definition at line 393 of file parallel_part.C.
References partconndata::eind, partconndata::eptr, partconndata::nelem, and partconndata::part.
Referenced by FEM_master_parallel_part(), and FEM_slave_parallel_part().
void FEM_write_part2node | ( | MSA1DINTLIST & | nodepart, | |
MSA1DNODELIST & | part2node, | |||
struct partconndata * | data, | |||
MPI_Comm | comm_context | |||
) |
Definition at line 410 of file parallel_part.C.
References MPI_Comm_rank, n, NodeElem::shared, PUP::t, and ElemList< T >::vec.
Referenced by FEM_master_parallel_part(), and FEM_slave_parallel_part().
void FEM_write_part2elem | ( | MSA1DINTLIST & | part2elem, | |
struct partconndata * | data, | |||
MPI_Comm | comm_context | |||
) |
Definition at line 447 of file parallel_part.C.
References partconndata::nelem, partconndata::part, and partconndata::startindex.
Referenced by FEM_master_parallel_part(), and FEM_slave_parallel_part().
Definition at line 459 of file parallel_part.C.
Referenced by FEM_master_parallel_part().
void sendBrokenMeshes | ( | FEM_Mesh * | mesh_array, | |
FEM_Comm_t | comm_context | |||
) |
Definition at line 503 of file parallel_part.C.
Referenced by FEM_master_parallel_part().
void FEM_write_part2mesh | ( | MSA1DFEMMESH & | part2mesh, | |
struct partconndata * | partdata, | |||
struct conndata * | data, | |||
MSA1DINTLIST & | nodepart, | |||
int | numChunks, | |||
int | myChunk, | |||
FEM_Mesh * | m | |||
) |
reading my part of the broken mesh and sending the element data to the mesh that actually should have it according to parmetis
send out the nodes that I have the data for to the meshes that have them
Definition at line 510 of file parallel_part.C.
References count, elem, FEM_Mesh::elem, FEM_Entity_Types< T >::has(), MeshElem::m, conndata::nnode, FEM_Mesh::node, partconndata::part, FEM_Entity::size(), FEM_Entity_Types< T >::size(), PUP::t, and ElemList< T >::vec.
Referenced by FEM_master_parallel_part(), and FEM_slave_parallel_part().
void sortNodeList | ( | NodeList & | lnodes | ) |
Definition at line 543 of file parallel_part.C.
References CkVec< T >::size(), PUP::t, and ElemList< T >::vec.
Referenced by addIDXLists().
go through each node
global number of this node
find the local number of this node
chunk numbers to which this node belongs
Definition at line 557 of file parallel_part.C.
Referenced by FEM_master_parallel_part(), and FEM_slave_parallel_part().
struct ghostdata * gatherGhosts | ( | ) | [read] |
Definition at line 629 of file parallel_part.C.
Referenced by FEM_master_parallel_part(), and ParFUM_createComm().
void makeGhosts | ( | FEM_Mesh * | m, | |
MPI_Comm | comm, | |||
int | masterRank, | |||
int | numLayers, | |||
FEM_Ghost_Layer ** | layers | |||
) |
Definition at line 657 of file parallel_part.C.
Referenced by FEM_master_parallel_part(), FEM_slave_parallel_part(), and ParFUM_createComm().
bool listContains | ( | FEM_Comm_List & | list, | |
int | entry | |||
) |
Definition at line 741 of file parallel_part.C.
References IDXL_List::size().
Referenced by makeGhost().
void makeGhost | ( | FEM_Mesh * | m, | |
MPI_Comm | comm, | |||
int | masterRank, | |||
int | totalShared, | |||
FEM_Ghost_Layer * | layer, | |||
CkHashtableT< CkHashtableAdaptorT< int >, char > & | sharedNode, | |||
CkHashtableT< CkHashtableAdaptorT< int >, int > & | global2local | |||
) |
Definition at line 750 of file parallel_part.C.
Referenced by makeGhosts().
Definition at line 1078 of file parallel_part.C.
Referenced by makeGhost().