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

Refactoring of mpipack_pmmg.h and mpiunpack_pmmg.h to use MPI_Struct instead of char array. #118

Open
Algiane opened this issue Aug 6, 2024 · 0 comments
Labels
kind: enhancement enhancement to an existing feature kind: refactoring needs refactoring

Comments

@Algiane
Copy link
Member

Algiane commented Aug 6, 2024

The mesh packing inside a char array implies that we need large intergers to store the message size.

An alternative that was implemented in the past (and was working I think) used hierarchical MPI_Struct to define the C structures used in the mesh (points, xpoints, tetra...) as well as the mesh itself. It should allow to easier the mesh communication and to reduce the size of the integer used to provide the message size (because the MPI structures will be larger than chars which is the minimal unit for the type of variables).

See issue #113 and PR#117

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: enhancement enhancement to an existing feature kind: refactoring needs refactoring
Projects
None yet
Development

No branches or pull requests

1 participant