Skip to content

Fix waterStored initialization in waterLevel_alpha_prgh#2

Open
zhangcube wants to merge 1 commit into
baw-de:v2412from
zhangcube:v2412
Open

Fix waterStored initialization in waterLevel_alpha_prgh#2
zhangcube wants to merge 1 commit into
baw-de:v2412from
zhangcube:v2412

Conversation

@zhangcube

Copy link
Copy Markdown

No description provided.

Copilot AI review requested due to automatic review settings May 7, 2026 03:47

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Fixes incorrect initialization of the waterStored_ state when constructing/copying waterLevel_alpha_prghFvPatchScalarField, ensuring the boundary condition preserves stored outflow volume across copies/mappings instead of accidentally copying lastTime_.

Changes:

  • Correct waterStored_ member initialization in the mapping constructor.
  • Correct waterStored_ member initialization in the copy constructor.
  • Correct waterStored_ member initialization in the “copy with new internal field” constructor.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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