Class for storing an ADT of only points in an arbitrary number of dimensions.
More...
#include <adt_structure.hpp>
|
| | su2_adtPointsOnlyClass (unsigned short nDim, unsigned long nPoints, const su2double *coor, const unsigned long *pointID) |
| | Constructor of the class. More...
|
| |
|
| ~su2_adtPointsOnlyClass () |
| | Destructor of the class. Nothing to be done.
|
| |
| void | DetermineNearestNode (const su2double *coor, su2double &dist, unsigned long &pointID, int &rankID) |
| | Function, which determines the nearest node in the ADT for the given coordinate. More...
|
| |
| bool | IsEmpty (void) const |
| | Function, which returns whether or not the ADT is empty. More...
|
| |
|
|
| su2_adtBaseClass () |
| | Constructor of the class. Nothing to be done.
|
| |
|
virtual | ~su2_adtBaseClass () |
| | Destructor of the class. Nothing to be done.
|
| |
| void | BuildADT (unsigned short nDim, unsigned long nPoints, const su2double *coor) |
| | Function, which builds the ADT of the given coordinates. More...
|
| |
|
unsigned long | nLeaves |
| | Number of leaves in the ADT.
|
| |
|
unsigned short | nDimADT |
| | Number of dimensions of the ADT.
|
| |
|
bool | isEmpty |
| | Whether or not the ADT is empty.
|
| |
|
vector< su2_adtNodeClass > | leaves |
| | Vector, which contains all the leaves of the ADT.
|
| |
Class for storing an ADT of only points in an arbitrary number of dimensions.
- Author
- E. van der Weide
- Version
- 4.1.3 "Cardinal"
§ su2_adtPointsOnlyClass()
| su2_adtPointsOnlyClass::su2_adtPointsOnlyClass |
( |
unsigned short |
nDim, |
|
|
unsigned long |
nPoints, |
|
|
const su2double * |
coor, |
|
|
const unsigned long * |
pointID |
|
) |
| |
Constructor of the class.
- Parameters
-
| [in] | nDim | Number of spatial dimensions of the problem. |
| [in] | nPoints | Number of local points to be stored in the ADT. |
| [in] | coor | Coordinates of the local points. |
| [in] | pointID | Local point IDs of the local points. |
§ DetermineNearestNode()
| void su2_adtPointsOnlyClass::DetermineNearestNode |
( |
const su2double * |
coor, |
|
|
su2double & |
dist, |
|
|
unsigned long & |
pointID, |
|
|
int & |
rankID |
|
) |
| |
Function, which determines the nearest node in the ADT for the given coordinate.
- Parameters
-
| [in] | coor | Coordinate for which the nearest node in the ADT must be determined. |
| [out] | dist | Distance to the nearest node in the ADT. |
| [out] | pointID | Local point ID of the nearest node in the ADT. |
| [out] | rankID | Rank on which the nearest node in the ADT is stored. |
The documentation for this class was generated from the following files: