Skip to content

some optimizations to normalize_species#3179

Merged
zingale merged 1 commit intoAMReX-Astro:developmentfrom
zingale:normalize_species
Dec 12, 2025
Merged

some optimizations to normalize_species#3179
zingale merged 1 commit intoAMReX-Astro:developmentfrom
zingale:normalize_species

Conversation

@zingale
Copy link
Member

@zingale zingale commented Dec 12, 2025

this small function can take 10% of the runtime of a simulation

PR summary

PR motivation

PR checklist

  • test suite needs to be run on this PR
  • this PR will change answers in the test suite to more than roundoff level
  • all newly-added functions have docstrings as per the coding conventions
  • the CHANGES file has been updated, if appropriate
  • if appropriate, this change is described in the docs

this small function can take 10% of the runtime of a simulation
@zingale zingale changed the base branch from main to development December 12, 2025 01:19
@zingale zingale changed the title [WIP] some optimizations to normalize_species some optimizations to normalize_species Dec 12, 2025
@zingale
Copy link
Member Author

zingale commented Dec 12, 2025

all tests pass:
http://groot.astro.sunysb.edu/Castro/test-suite/gfortran/2025-12-11-001/index.html

this seems to give a good performance boost on CPUs.

@zingale zingale merged commit a126e15 into AMReX-Astro:development Dec 12, 2025
25 of 26 checks passed
@zingale zingale deleted the normalize_species branch December 12, 2025 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants