Skip to content

Fix synchronization of Reservoir state#1955

Merged
ischoegl merged 1 commit intoCantera:mainfrom
speth:fix-reservoir-sync
Aug 25, 2025
Merged

Fix synchronization of Reservoir state#1955
ischoegl merged 1 commit intoCantera:mainfrom
speth:fix-reservoir-sync

Conversation

@speth
Copy link
Copy Markdown
Member

@speth speth commented Aug 25, 2025

Fixes #1905

Changes proposed in this pull request

Fix synchronization of Reservoir state. While the reservoir itself has no governing equations, updating the state of its underlying ThermoPhase object can affect reactors linked by valves, walls, etc.

If applicable, fill in the issue number this pull request is fixing

Closes #1905

If applicable, provide an example illustrating new features this pull request is introducing

Checklist

  • The pull request includes a clear description of this code change
  • Commit messages have short titles and reference relevant issues
  • Build passes (scons build & scons test) and unit tests address code coverage
  • Style & formatting of contributed code follows contributing guidelines
  • The pull request is ready for review

@speth speth added the Reactors label Aug 25, 2025
@codecov
Copy link
Copy Markdown

codecov bot commented Aug 25, 2025

Codecov Report

❌ Patch coverage is 80.00000% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 74.99%. Comparing base (794cc53) to head (4976e5a).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/zeroD/ReactorBase.cpp 80.00% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1955   +/-   ##
=======================================
  Coverage   74.98%   74.99%           
=======================================
  Files         450      450           
  Lines       56241    56237    -4     
  Branches     9300     9299    -1     
=======================================
+ Hits        42174    42175    +1     
+ Misses      10933    10930    -3     
+ Partials     3134     3132    -2     

☔ View full report in Codecov by Sentry.
📢 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.

Copy link
Copy Markdown
Member

@ischoegl ischoegl left a comment

Choose a reason for hiding this comment

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

@speth ... thanks for the fix!

@ischoegl ischoegl merged commit 4b6712f into Cantera:main Aug 25, 2025
50 of 51 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Synchronization of Reservoir state broken

2 participants