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

Clean up the API #4

Open
mrzv opened this issue Jun 1, 2015 · 0 comments
Open

Clean up the API #4

mrzv opened this issue Jun 1, 2015 · 0 comments
Assignees
Labels

Comments

@mrzv
Copy link
Member

mrzv commented Jun 1, 2015

Issue by Dmitriy Morozov
Saturday Nov 22, 2014 at 22:00 GMT


I think the general principle should be to minimize how much the user needs to know about DIY, while still allowing full access. This means on the one hand preserving tess(master), which assumes the blocks are prepared in the dblock_t format, while providing convenience functions that simply take points as input.

  • Create a function akin to tess(world, points), which would set up its own master (from the world communicator), redistribute the points, and compute the Delaunay triangulation. The user would simply get the local points (resulting from the redistribution) and local tetrahedra in return. Or maybe it's Ok to return the local dblock_ts; that much exposure to the internals should be Ok.
  • Move redistribute() from examples/pread-voronoi/pread-voronoi.cpp into the main tess library.
  • Create a simpler tess(master) that sets up its own quants and times. As interesting as those are to us, the users probably wouldn't care about them, so no need to expose them in an API.
@mrzv mrzv self-assigned this Jun 1, 2015
@mrzv mrzv added the proposal label Jun 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant