omega_h
omega_h copied to clipboard
How to set the parallel mesh mannuly
Dear sir: I want to know how to set a parallel mesh mannuly except using load from gmsh.
This API:
void build_from_elems2verts(Mesh* mesh, CommPtr comm, Omega_h_Family, Int edim,
LOs ev2v, Read<GO> vert_globals);
If called on all processors with consistent vertex global IDs (each processor gives the global IDs of its local vertices, and the connectivity of its local elements to its local vertices), then this function will result in a consistent parallel mesh. The input arrays can be constructed manually however you want.