Ib restart hotfix#1373
Conversation
📝 WalkthroughWalkthroughThis pull request contains two changes to the simulation codebase. In the collision handling module, the torque update applied to the second colliding immersed boundary was changed from subtraction to addition. In the data output module, the restart logic for the immersed boundary state file was modified to distinguish between initial runs and restart scenarios by checking if the start step is greater than zero instead of not equal to zero. These changes affect collision force calculations and file output restart behavior respectively. 🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 292ccbb5-3753-4190-9dba-2a65443c96e5
📒 Files selected for processing (2)
src/simulation/m_collisions.fppsrc/simulation/m_data_output.fpp
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1373 +/- ##
=======================================
Coverage 64.62% 64.62%
=======================================
Files 71 71
Lines 18407 18407
Branches 1516 1516
=======================================
Hits 11895 11895
Misses 5555 5555
Partials 957 957 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Description
Adjusts the ib resetart data to use
>0instead of/= 0for the case of when we use adaptive time stepping att_step_startisdflt_intAlso threw in a correction for a torque sign error that I noticed while I was at it.
Type of change