Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set the parallel mesh mannuly #327

Open
ztdepztdep opened this issue Oct 21, 2019 · 1 comment
Open

How to set the parallel mesh mannuly #327

ztdepztdep opened this issue Oct 21, 2019 · 1 comment

Comments

@ztdepztdep
Copy link

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

@ibaned
Copy link
Collaborator

ibaned commented Nov 15, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants