mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: adjust comments in SortableList (#1401)
This commit is contained in:
committed by
Andrew Heather
parent
508277d0f8
commit
5201999a38
@ -32,6 +32,11 @@ Description
|
|||||||
|
|
||||||
Uses the std::stable_sort() algorithm.
|
Uses the std::stable_sort() algorithm.
|
||||||
|
|
||||||
|
Note
|
||||||
|
In many cases you may wish to reuse list storage.
|
||||||
|
The Foam::sortedOrder() function and the Foam::SortList container
|
||||||
|
provide two other alternatives.
|
||||||
|
|
||||||
SourceFiles
|
SourceFiles
|
||||||
SortableList.C
|
SortableList.C
|
||||||
|
|
||||||
@ -56,9 +61,9 @@ class SortableList
|
|||||||
:
|
:
|
||||||
public List<T>
|
public List<T>
|
||||||
{
|
{
|
||||||
// Private data
|
// Private Data
|
||||||
|
|
||||||
//- Original indices
|
//- Indices from last sort()
|
||||||
labelList indices_;
|
labelList indices_;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user