![]() |
v0.16.3 |
Synchronisation of independently constructed simplicial subdivisions. More...
#include <MoFEM.hpp>Go to the source code of this file.
Functions | |
| int | main (int argc, char **argv) |
Synchronisation of independently constructed simplicial subdivisions.
Parent tetrahedron i has vertices {1, 2, 3 + 2*i, 4 + 2*i}. All parents share edge {1, 2}, which becomes multishared when several ranks own cells. Each producer inserts vertex 1001 at that edge's midpoint and splits each local parent into two tetrahedra. MeshRefinement records their ancestry; CommInterface must match existing copies and supply missing descendants.
Bit levels 0 and 1 select parents and children. Unrelated vertices on level 7 and reversed creation order make local handles differ between ranks. JSON supplies the coordinate scale; CTest runs this suite on 1, 2 and 4 ranks.
Definition in file comm_parent_child.cpp.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Load JSON options and execute the same scenario suite on every MPI rank. Each CTest invocation chooses the communicator size. The suite covers the mesh layouts, concurrent/single producers, repeated calls and collective rejection of inconsistent input. Cross-rank conflicts need at least two ranks.
Definition at line 494 of file comm_parent_child.cpp.