The bandCompression function renumbers the addressing such that the band of the matrix is reduced. The algorithm uses a simple search through the neighbour list in order of connectivity. More...


Go to the source code of this file.
Namespaces | |
| namespace | Foam |
| Namespace for OpenFOAM. | |
| namespace | Foam::meshTools |
| Collection of static functions to do various simple mesh related things. | |
Functions | |
| labelList | bandCompression (const polyMesh &mesh) |
| Renumber (mesh) addressing to reduce the band of the mesh connectivity, using the Cuthill-McKee algorithm. | |
| labelList | bandCompression (const CompactListList< label > &addressing) |
| Renumber (mesh) addressing to reduce the band of the matrix, using the Cuthill-McKee algorithm. | |
| labelList | bandCompression (const labelListList &addressing) |
| Renumber (mesh) addressing to reduce the band of the matrix, using the Cuthill-McKee algorithm. | |
| labelList | bandCompression (const labelUList &cellCells, const labelUList &offsets) |
| Renumber with addressing in losort form (neighbour + start in neighbour), using the Cuthill-McKee algorithm. | |
| labelList | bandCompression (const labelListList &cellCellAddressing) |
| Deprecated - prefer meshTools::bandCompression(). | |
| labelList | bandCompression (const labelUList &cellCells, const labelUList &offsets) |
| Deprecated - prefer meshTools::bandCompression(). | |
The bandCompression function renumbers the addressing such that the band of the matrix is reduced. The algorithm uses a simple search through the neighbour list in order of connectivity.
Original source file bandCompression.H
InNamespace Foam
See http://en.wikipedia.org/wiki/Cuthill-McKee_algorithm
Definition in file bandCompression.H.