diff --git a/applications/utilities/preProcessing/viewFactorsGen/viewFactorsGen.C b/applications/utilities/preProcessing/viewFactorsGen/viewFactorsGen.C index 3de11eec4d..e374e1969a 100644 --- a/applications/utilities/preProcessing/viewFactorsGen/viewFactorsGen.C +++ b/applications/utilities/preProcessing/viewFactorsGen/viewFactorsGen.C @@ -457,8 +457,9 @@ int main(int argc, char *argv[]) } } - // Collect remote Cf and Sf on coarse mesh - // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + // Distribute local coarse Cf and Sf for shooting rays + // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ List remoteCoarseCf(Pstream::nProcs()); List remoteCoarseSf(Pstream::nProcs()); @@ -468,19 +469,6 @@ int main(int argc, char *argv[]) remoteCoarseSf[Pstream::myProcNo()] = localCoarseSf; remoteCoarseAgg[Pstream::myProcNo()] = localAgg; - - // Collect remote Cf and Sf on fine mesh - // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - - List remoteFineCf(Pstream::nProcs()); - List remoteFineSf(Pstream::nProcs()); - - remoteCoarseCf[Pstream::myProcNo()] = localCoarseCf; - remoteCoarseSf[Pstream::myProcNo()] = localCoarseSf; - - // Distribute local coarse Cf and Sf for shooting rays - // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - Pstream::gatherList(remoteCoarseCf); Pstream::scatterList(remoteCoarseCf); Pstream::gatherList(remoteCoarseSf);