From bf539705ba6e5e1c007410f0198dc031b92024c7 Mon Sep 17 00:00:00 2001 From: mattijs <mattijs> Date: Thu, 2 Jun 2011 19:56:36 +0100 Subject: [PATCH] STYLE: scotchDecomp: comment --- src/parallel/decompose/ptscotchDecomp/ptscotchDecomp.H | 5 +++-- src/parallel/decompose/scotchDecomp/scotchDecomp.H | 8 ++++---- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/parallel/decompose/ptscotchDecomp/ptscotchDecomp.H b/src/parallel/decompose/ptscotchDecomp/ptscotchDecomp.H index e1c8e6c24da..2436f4a2a66 100644 --- a/src/parallel/decompose/ptscotchDecomp/ptscotchDecomp.H +++ b/src/parallel/decompose/ptscotchDecomp/ptscotchDecomp.H @@ -111,7 +111,7 @@ public: } //- Return for every coordinate the wanted processor number. Use the - // mesh connectivity (if needed) + // mesh connectivity (if needed). See note on weights in scotchDecomp.H virtual labelList decompose ( const polyMesh& mesh, @@ -122,7 +122,7 @@ public: //- Return for every coordinate the wanted processor number. Gets // passed agglomeration map (from fine to coarse cells) and coarse cell // location. Can be overridden by decomposers that provide this - // functionality natively. + // functionality natively. See note on weights in scotchDecomp.H virtual labelList decompose ( const polyMesh& mesh, @@ -138,6 +138,7 @@ public: // from 0 at processor0 and then incrementing all through the // processors) // - the connections are across coupled patches + // See note on weights in scotchDecomp.H virtual labelList decompose ( const labelListList& globalCellCells, diff --git a/src/parallel/decompose/scotchDecomp/scotchDecomp.H b/src/parallel/decompose/scotchDecomp/scotchDecomp.H index a4348a76413..e3a6e673946 100644 --- a/src/parallel/decompose/scotchDecomp/scotchDecomp.H +++ b/src/parallel/decompose/scotchDecomp/scotchDecomp.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2009-2010 OpenCFD Ltd. + \\ / A nd | Copyright (C) 2009-2011 OpenCFD Ltd. \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -107,9 +107,9 @@ public: //- Return for every coordinate the wanted processor number. Use the // mesh connectivity (if needed) - // Weights get truncated to convert into integer - // so e.g. 3.5 is seen as 3. The overall sum of weights - // might otherwise overflow. + // Weights get normalised with minimum weight and truncated to + // convert into integer so e.g. 3.5 is seen as 3. The overall sum + // of weights might otherwise overflow. virtual labelList decompose ( const polyMesh& mesh, -- GitLab