Skip to content

have integrator diagnostics respect subtract_internal_energy - #2089

Open
zingale wants to merge 3 commits into
AMReX-Astro:developmentfrom
zingale:fix_energy_released
Open

have integrator diagnostics respect subtract_internal_energy#2089
zingale wants to merge 3 commits into
AMReX-Astro:developmentfrom
zingale:fix_energy_released

Conversation

@zingale

@zingale zingale commented Sep 9, 2026

Copy link
Copy Markdown
Member

No description provided.

Comment thread integration/integrator_setup_strang.H Outdated
if (integrator_rp::subtract_internal_energy) {
std::cout << "energy generated = " << state.e << std::endl;
} else {
std::cout << "energy generated = " << state_save.e_in << std::endl;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

missing state.e - here

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

fixed

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