Functor, used for the sorting of the points when building an ADT.
More...
#include <adt_structure.hpp>
|
| | su2_adtComparePointClass (const su2double *coor, const unsigned short splitDir, const unsigned short nDimADT) |
| | Constructor of the class. The member variables are initialized. More...
|
| |
|
| ~su2_adtComparePointClass () |
| | Destructor, nothing to be done.
|
| |
| bool | operator() (const unsigned long p0, const unsigned long p1) const |
| | Operator used for the sorting of the points. More...
|
| |
Functor, used for the sorting of the points when building an ADT.
- Author
- E. van der Weide
- Version
- 4.1.3 "Cardinal"
§ su2_adtComparePointClass()
| su2_adtComparePointClass::su2_adtComparePointClass |
( |
const su2double * |
coor, |
|
|
const unsigned short |
splitDir, |
|
|
const unsigned short |
nDimADT |
|
) |
| |
Constructor of the class. The member variables are initialized.
- Parameters
-
| [in] | coor | Pointer to the coordinates of the points. |
| [in] | splitDir | Direction that must be used to sort the coordinates. |
| [in] | nDimADT | Number of spatial dimensions of the ADT and coordinates. |
§ operator()()
| bool su2_adtComparePointClass::operator() |
( |
const unsigned long |
p0, |
|
|
const unsigned long |
p1 |
|
) |
| const |
|
inline |
Operator used for the sorting of the points.
- Parameters
-
| [in] | p0 | Index of the first point to be compared. |
| [in] | p1 | Index of the second point to be compared. |
The documentation for this class was generated from the following files: