-
-
Notifications
You must be signed in to change notification settings - Fork 255
[ENH/WIP] Adding first test to implement marching cubes #1000
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
Conversation
To keep working in this PR you just need to checkout this branch and push the changes Step I: Monolithic code extracting meshes@javoha as far I understood you pretty much have this code. Just add it in the test so we can later extract the functions that we will need to put somewhere else and find out the data structures that we will need Step II: Extracting functions and data classes and place them in the right location @Leguark |
Hi, |
great thanks. I will take a look at simplifying it as I extract code into functions and put it in the right location. I will try to come around this week. |
07f6981
to
7cba374
Compare
# Description Since the release of gempy v3 we noticed some outliers in the lithology block. These are basically single cells that have a wrong element ID in the lithology block. They generally appear close to surface boundaries and are appearing depending on resolution. This might be caused when mapping sclar field values to int for the lithology block. As I don't think the isse is related to Octrees or DC I opened a new pull request. This issue will cause problems when reintroducing MC as a meshing approach in #1000 and #1006 . For now I added a single example as a test (see screenshot). I will add more examples whe I come across them and have time.  # Checklist - [ ] My code uses type hinting for function and method arguments and return values. - [x] I have created tests which cover my code. - [x] The test code either 1. demonstrates at least one valuable use case (e.g. integration tests) or 2. verifies that outputs are as expected for given inputs (e.g. unit tests). - [ ] New tests pass locally with my changes.
Description
Implementing marching cubes
Relates to
Checklist
or 2. verifies that outputs are as expected for given inputs (e.g. unit tests).