CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (https://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   SimpleGeomDecompC (https://www.cfd-online.com/Forums/openfoam-pre-processing/62087-simplegeomdecompc.html)

andre March 4, 2008 10:21

Hi everyone, In the file si
 
Hi everyone,

In the file simpleGeomDecomp.C line 33 I encountered the following:

sort ( pointIndices, SortableList<scalar>::less(rotatedPoints.component (vector::X))
);

What does this do? Does it sort the pointIndices labelList according to the sorting of the X-component of rotatedPoints?

Thank in advance.

Regards,
Andre


All times are GMT -4. The time now is 13:58.