omega_h icon indicating copy to clipboard operation
omega_h copied to clipboard

How to set the parallel mesh mannuly

Open ztdepztdep opened this issue 4 years ago • 1 comments

Dear sir: I want to know how to set a parallel mesh mannuly except using load from gmsh.

ztdepztdep avatar Oct 21 '19 09:10 ztdepztdep

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.

ibaned avatar Nov 15 '19 19:11 ibaned