diff --git a/applications/utilities/preProcessing/viewFactorsGen/viewFactorsGen.C b/applications/utilities/preProcessing/viewFactorsGen/viewFactorsGen.C index 76fbba3a6..8acb229f1 100644 --- a/applications/utilities/preProcessing/viewFactorsGen/viewFactorsGen.C +++ b/applications/utilities/preProcessing/viewFactorsGen/viewFactorsGen.C @@ -235,8 +235,8 @@ int main(int argc, char *argv[]) // Calculate total number of fine and coarse faces // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - label nCoarseFaces = 0; //total number of coarse faces - label nFineFaces = 0; //total number of fine faces + label nCoarseFaces = 0; // total number of coarse faces + label nFineFaces = 0; // total number of fine faces const polyBoundaryMesh& patches = mesh.boundaryMesh(); const polyBoundaryMesh& coarsePatches = coarseMesh.boundaryMesh(); @@ -256,7 +256,7 @@ int main(int argc, char *argv[]) viewFactorsPatches[count] = QrpI.patch().index(); nCoarseFaces += coarsePatches[patchI].size(); nFineFaces += patches[patchI].size(); - count ++; + count++; } } @@ -267,6 +267,26 @@ int main(int argc, char *argv[]) reduce(totalNCoarseFaces, sumOp