Dual Grid Approach
#5257
|
How can I turn this mode on when I evolve both mesh data and particle data? |
Answered by
atmyers
Mar 31, 2026
Replies: 1 comment 3 replies
|
Hi @lwJi, It isn't as simple as turning a switch, unfortunately. Basically, you need to use the ParticleContainer regrid methods to set the particle grids to what you want. Then, when doing particle-mesh interpolation, you need to do an extra copy if the particles and mesh are on different grids, as here. |
3 replies
Answer selected by
lwJi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @lwJi,
It isn't as simple as turning a switch, unfortunately. Basically, you need to use the ParticleContainer regrid methods to set the particle grids to what you want. Then, when doing particle-mesh interpolation, you need to do an extra copy if the particles and mesh are on different grids, as here.