From f2c6dc97a2ac62e3c87317d214f30a74a064d347 Mon Sep 17 00:00:00 2001 From: mattijs <mattijs> Date: Fri, 31 Jan 2014 10:34:00 +0000 Subject: [PATCH] BUG: viewFactorsGen: unused variables #1146 --- .../viewFactorsGen/viewFactorsGen.C | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/applications/utilities/preProcessing/viewFactorsGen/viewFactorsGen.C b/applications/utilities/preProcessing/viewFactorsGen/viewFactorsGen.C index 3de11eec4d4..e374e1969af 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<pointField> remoteCoarseCf(Pstream::nProcs()); List<pointField> 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<pointField> remoteFineCf(Pstream::nProcs()); - List<pointField> 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); -- GitLab