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

Add p4est feature query #102

Open
cburstedde opened this issue Mar 12, 2021 · 0 comments
Open

Add p4est feature query #102

cburstedde opened this issue Mar 12, 2021 · 0 comments
Labels
enhancement upforgrabs Desired functionality, currently unassigned

Comments

@cburstedde
Copy link
Owner

Description

Similar to p4est_version_major, _minor, add a p4est_feature_query function.

Proposed solution

The feature query shall receive a const char * as input with a name matching any of the feature defines in p4est_base.h (btw. these defines need a more consistent naming scheme that shall be added). It will return 0 if the feature exists and -1 otherwise. The function will accept an extra int * argument that shall be -1 when feature is non-existent and non-negative when encoding additional information on an existing feature.

@cburstedde cburstedde added enhancement upforgrabs Desired functionality, currently unassigned labels Mar 12, 2021
@cburstedde cburstedde added this to Conception in Incremental improvements via automation Mar 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement upforgrabs Desired functionality, currently unassigned
Projects
Development

No branches or pull requests

1 participant