Skip to content

Commit

Permalink
remove old comments
Browse files Browse the repository at this point in the history
  • Loading branch information
BenWibking committed Feb 6, 2024
1 parent cbfbfff commit df7854a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/BinaryOrbitCIC/binary_orbit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,10 @@ template <> void RadhydroSimulation<BinaryOrbit>::computeAfterTimestep()
amrex::DistributionMapping const dmap({0});
analysisPC.Define(geom, dmap, boxArray);
analysisPC.copyParticles(*CICParticles);
// do we need to redistribute??

if (amrex::ParallelDescriptor::IOProcessor()) {
quokka::CICParticleIterator const pIter(analysisPC, 0);
if (pIter.isValid()) { // this returns false when there is more than 1 MPI rank (?)
if (pIter.isValid()) {
amrex::Print() << "Computing particle statistics...\n";
const amrex::Long np = pIter.numParticles();
auto &particles = pIter.GetArrayOfStructs();
Expand Down

0 comments on commit df7854a

Please sign in to comment.