Skip to content
Snippets Groups Projects
Commit de94dced authored by Jaswant Panchumarti (Kitware)'s avatar Jaswant Panchumarti (Kitware)
Browse files

AMReXParticlesReader: handle inexact division of grids among MPI ranks

- this commit fixes the grid-process assignment logic robust
when the number of grids cannot be exactly divided among
the number of MPI ranks (pieces in this code)
- this commit also adds MPI awareness to an existing unit test.
- the unit test TestAMReXParticlesReader is run with MPI, when enabled,
on 3 nodes. It passes only when the sum of the number of points across
all nodes is equal to a known value.
- without the change in vtkAMReXParticlesReader, the unit test will faill with MPI
parent 5a0129e4
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment