Skip to content

Find joint problem - #179

Merged
andrewwinters5000 merged 23 commits into
mainfrom
findJointProblem
Aug 24, 2026
Merged

andrewwinters5000 merged 23 commits into
mainfrom
findJointProblem

Conversation

@DavidAKopriva

Copy link
Copy Markdown
Collaborator

This PR fixes an issue with marking the joints in curve chains, but also adds new functionality that smoothes the boundary node distributions so that elements will have more uniform edge sizes along boundaries.

DavidAKopriva and others added 17 commits August 13, 2026 11:14
Add procedures and their tests to check for the proper formatting for the "connect" keword in the chain definitions.
Add checking of the connect format string before scanning for breaks. Post an exception if there is a problem, otherwise using the default segmentation.
Found the bug where curve joints were not stuck to a node. Removed the procedure that did that. Added new procedures to use recently added boundary node gathering to smooth the distribution of nodes along a curve. This should get rid of very narrow edges along a boundary curve.
Fix memory deallocation error
Remove code that caused the Segmented example to fail.
Switched insertion sort to pointers. Added QuickSort, but it is slower, so am commenting it out for now.
The number of smoothing steps for the boundary smoothing has been renamed and moved to ProgramGlobals.
With the new boundary smoothing, most meshes have changed slightly, so the benchmark data for the mesh integration tests have been rerun.
@codecov

codecov Bot commented Aug 22, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.17%. Comparing base (72ccc21) to head (b3ab501).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #179      +/-   ##
==========================================
- Coverage   78.34%   78.17%   -0.18%     
==========================================
  Files          83       83              
  Lines       12463    12497      +34     
  Branches        2        2              
==========================================
+ Hits         9764     9769       +5     
- Misses       2699     2728      +29     
Flag Coverage Δ
unittests 78.17% <ø> (-0.18%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Remove (comment) unused code.

@andrewwinters5000 andrewwinters5000 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything looks good from my side. I also updated all of the Benchmark PlotFiles and StatsFiles as they can be useful for debugging. That is why it tens of thousands of lines are indicated as changed.

The only substantive change I made is now the Benchmarks/ControlFiles/AllFeatures.control is the same as the one present in Examples/2D/AllFeatures.

@andrewwinters5000
andrewwinters5000 merged commit 91b45b0 into main Aug 24, 2026
21 of 23 checks passed
@andrewwinters5000
andrewwinters5000 deleted the findJointProblem branch August 24, 2026 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants