adding flexible fields to tweak and optimize cells size #11
Open
oscarfasanchez wants to merge 29 commits intorhugman:developfrom
Open
adding flexible fields to tweak and optimize cells size #11oscarfasanchez wants to merge 29 commits intorhugman:developfrom
oscarfasanchez wants to merge 29 commits intorhugman:developfrom
Conversation
…ut still not implemented the last one
…nto optional_densify_simplify
…et of variables for magic numbers
…s in engine which is a big rework to do
…nodes, but still need refinement
…xponential field not being applied
…ms in the original data
…ing and other issues
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a new flexible mesh field system for controlling mesh refinement and growth, adds a comprehensive example of mesh field usage, and improves test coverage for geometry simplification and mesh field integration. It also makes several minor fixes and clarifications to documentation and test parameters.
Mesh field system and API improvements:
MeshFieldand several built-in field types (ThresholdField,ExponentialField,AutoLinearField,AutoExponentialField), enabling advanced and customizable mesh size control. (src/vorflow/fields.py)vorflow.__init__.pyfor easier access. (src/vorflow/__init__.py)Examples and documentation:
field_capabilities_example.pythat demonstrates all mesh field types, including implicit/explicit thresholds, exponential growth, field-only features, and line/point refinement. (examples/field_capabilities_example.py)comprehensive_demo.ipynb), fixing the description and usage of the mesh growth parameter (dist_maxinstead ofdist_max_out).Testing improvements:
test_conceptual_mesh.py, ensuring robust handling of noisy or redundant input data.dist_maxfor consistent mesh growth control. (test_gmsh_integration_simple_square,test_gmsh_integration_with_internal_line, and others intest_integration_gmsh.py) [1] [2] [3] [4] [5]Other improvements:
comprehensive_demo.ipynb)