Commit 62862d42 authored by Marcel Koch's avatar Marcel Koch
Browse files

undo walberla changes

parent 549a47ff
Pipeline #36843 failed with stages
in 13 minutes and 16 seconds
......@@ -1683,8 +1683,8 @@ std::string PrimitiveStorage::getGlobalInfo( bool onRootOnly, MPI_Comm comm ) co
const double globalAvgNumberOfCells = (double) globalNumberOfCells / (double) numberOfProcesses;
const double globalAvgNumberOfPrimitives = (double) globalNumberOfPrimitives / (double) numberOfProcesses;
walberla::math::DistributedSample neighborhoodSample(comm);
walberla::math::DistributedSample neighborhoodVolumeSample(comm);
walberla::math::DistributedSample neighborhoodSample;
walberla::math::DistributedSample neighborhoodVolumeSample;
const auto numNeighborProcesses = getNeighboringRanks().size();
const auto numNeighborVolumeProcesses = additionalHaloDepth_ > 0 ? getNeighboringVolumeRanksOfAllVolumes().size() : 0;
neighborhoodSample.castToRealAndInsert( numNeighborProcesses );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment