diff --git a/src/OpenFOAM/meshes/bandCompression/bandCompression.C b/src/OpenFOAM/meshes/bandCompression/bandCompression.C index 5c31a2121d..cec9dc9c6c 100644 --- a/src/OpenFOAM/meshes/bandCompression/bandCompression.C +++ b/src/OpenFOAM/meshes/bandCompression/bandCompression.C @@ -26,6 +26,7 @@ Description matrix is reduced. The algorithm uses a simple search through the neighbour list + See http://en.wikipedia.org/wiki/Cuthill-McKee_algorithm \*---------------------------------------------------------------------------*/ diff --git a/src/OpenFOAM/meshes/bandCompression/bandCompression.H b/src/OpenFOAM/meshes/bandCompression/bandCompression.H index 25e863fd47..8cbad9fbde 100644 --- a/src/OpenFOAM/meshes/bandCompression/bandCompression.H +++ b/src/OpenFOAM/meshes/bandCompression/bandCompression.H @@ -46,6 +46,8 @@ namespace Foam //- Renumbers the addressing to reduce the band of the matrix. // The algorithm uses a simple search through the neighbour list +// Returns the order in which the cells need to be visited (i.e. ordered to +// original) labelList bandCompression(const labelListList& addressing); } // End namespace Foam