Repository navigation
Fix example complex_shape_3d.jl - #1308
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1308 +/- ##
=======================================
Coverage 91.06% 91.06%
=======================================
Files 143 143
Lines 11607 11607
=======================================
Hits 10570 10570
Misses 1037 1037
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Collaborator
|
Please add the example to the CI. |
- Add smoke test for the example in `test/examples/examples.jl`. - Load the geometry via `pkgdir` so the example also works when the current working directory is not the repository root (as in CI).
Collaborator
|
Addressed in b2d4cc0: added the example to the CI in test/examples/examples.jl. Also fixed the data file path in the example to use pkgdir, since Pkg.test() runs with the test directory as working directory, so the previous CWD-relative path would not have been found. |
`SignedDistanceField` and its `trixi2vtk` method work with the current API, so re-enable the SDF part that was commented out and align the example header with what the example actually does.
The example exposes its parameters on purpose (teaching example), so override 'file' from the test instead of changing the example. This reverts the previous modifications of the example itself.
svchb
force-pushed
the
fix-example-file
branch
from
September 30, 2026 14:46
b4edc7c to
1bdae3c
Compare
The kwargs removed in the example fix never existed in 'ComplexShape'; the boundary layer workflow is now 'SignedDistanceField' + 'sample_boundary' (as in 'packing_2d.jl' and the packing tutorial). Use it in the example and assert both samplings in the CI test.
efaulhaber
requested changes
Oct 21, 2026
efaulhaber
approved these changes
Oct 21, 2026
LasNikas
enabled auto-merge (squash)
October 21, 2026 13:52
Collaborator
|
/run-gpu-tests |
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.
No description provided.