Skip to content

[WIP] Particles: Templated Real Type#5481

Draft
ax3l wants to merge 1 commit into
AMReX-Codes:developmentfrom
ax3l:topic-particle-RT-template
Draft

[WIP] Particles: Templated Real Type#5481
ax3l wants to merge 1 commit into
AMReX-Codes:developmentfrom
ax3l:topic-particle-RT-template

Conversation

@ax3l

@ax3l ax3l commented Jun 8, 2026

Copy link
Copy Markdown
Member

Summary

If we want to develop applications that can use double and single precision switches at runtime, then we need to be able to generate both in the same binary. This adds the corresponding templates (that default to the current status quo) in particle containers.

Additional background

#5482

Checklist

The proposed changes:

  • fix a bug or incorrect behavior in AMReX
  • add new capabilities to AMReX
  • changes answers in the test suite to more than roundoff level
  • are likely to significantly affect the results of downstream AMReX users
  • include documentation in the code and/or rst files, if appropriate

@ax3l ax3l added the precision label Jun 8, 2026
@ax3l ax3l force-pushed the topic-particle-RT-template branch from e3e5603 to 754eb0c Compare June 8, 2026 21:23
Comment thread Src/Particle/AMReX_NeighborParticles.H Outdated
Comment thread Src/Particle/AMReX_ParIter.H Outdated
Comment thread Src/Particle/AMReX_ParIter.H Outdated
Comment thread Src/Particle/AMReX_ParIter.H Outdated
Comment thread Src/Particle/AMReX_ParticleContainer.H Outdated
Comment thread Src/Particle/AMReX_ParticleContainer.H Outdated
@ax3l ax3l force-pushed the topic-particle-RT-template branch from 754eb0c to 2bcb898 Compare June 8, 2026 23:09
If we want to develop applications that can use double and single precision
switches at runtime, then we need to be able to generate both in the same
binary. This adds the corresponding templates (that default to the current
status quo) in particle containers.
@ax3l ax3l force-pushed the topic-particle-RT-template branch from 2bcb898 to 51361cc Compare June 8, 2026 23:21
@ax3l ax3l mentioned this pull request Jun 9, 2026
6 tasks
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.

1 participant