STYLE: bandCompression: added comment

This commit is contained in:
mattijs
2011-12-08 16:26:40 +00:00
parent f6c0779fcb
commit f1911657d1
2 changed files with 3 additions and 0 deletions

View File

@ -26,6 +26,7 @@ Description
matrix is reduced. The algorithm uses a simple search through the matrix is reduced. The algorithm uses a simple search through the
neighbour list neighbour list
See http://en.wikipedia.org/wiki/Cuthill-McKee_algorithm
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/

View File

@ -46,6 +46,8 @@ namespace Foam
//- Renumbers the addressing to reduce the band of the matrix. //- Renumbers the addressing to reduce the band of the matrix.
// The algorithm uses a simple search through the neighbour list // 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); labelList bandCompression(const labelListList& addressing);
} // End namespace Foam } // End namespace Foam