Documentation 6b54b78464
Loading...
Searching...
No Matches
CADTNodeClass.hpp
Go to the documentation of this file.
1/*!
2 * \file CADTNodeClass.hpp
3 * \brief Class for storing the information needed in a node of an ADT.
4 * \author E. van der Weide
5 * \version 8.5.0 "Harrier"
6 *
7 * SU2 Project Website: https://su2code.github.io
8 *
9 * The SU2 Project is maintained by the SU2 Foundation
10 * (http://su2foundation.org)
11 *
12 * Copyright 2012-2026, SU2 Contributors (cf. AUTHORS.md)
13 *
14 * SU2 is free software; you can redistribute it and/or
15 * modify it under the terms of the GNU Lesser General Public
16 * License as published by the Free Software Foundation; either
17 * version 2.1 of the License, or (at your option) any later version.
18 *
19 * SU2 is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22 * Lesser General Public License for more details.
23 *
24 * You should have received a copy of the GNU Lesser General Public
25 * License along with SU2. If not, see <http://www.gnu.org/licenses/>.
26 */
27
28#pragma once
29#include "../basic_types/datatype_structure.hpp"
30
31/*!
32 * \class CADTNodeClass
33 * \ingroup ADT
34 * \brief Class for storing the information needed in a node of an ADT.
35 * \author E. van der Weide
36 */
38 bool childrenAreTerminal[2]; /*!< \brief Whether or not the child leaves are terminal. */
39 unsigned long children[2]; /*!< \brief Child leaves. If childrenAreTerminal is true the children
40 contain the point ID's or bounding box ID's. Note that it
41 is allowed that one child is termimal and the other is not. */
42 unsigned long centralNodeID; /*!< \brief ID of a node, which is near the center of the leaf. */
43
44 su2double* xMin; /*!< \brief The minimum coordinates of this leaf. It points to a position in the large
45 vector, which contains the coordinates of all leaves. */
46 su2double* xMax; /*!< \brief The maximum coordinates of this leaf. It points to a position in the large
47 vector, which contains the coordinates of all leaves. */
48};
passivedouble su2double
Definition code_config.hpp:181
Class for storing the information needed in a node of an ADT.
Definition CADTNodeClass.hpp:37
bool childrenAreTerminal[2]
Whether or not the child leaves are terminal.
Definition CADTNodeClass.hpp:38
unsigned long centralNodeID
ID of a node, which is near the center of the leaf.
Definition CADTNodeClass.hpp:42
su2double * xMin
The minimum coordinates of this leaf. It points to a position in the large vector,...
Definition CADTNodeClass.hpp:44
su2double * xMax
The maximum coordinates of this leaf. It points to a position in the large vector,...
Definition CADTNodeClass.hpp:46
unsigned long children[2]
Child leaves. If childrenAreTerminal is true the children contain the point ID's or bounding box ID's...
Definition CADTNodeClass.hpp:39