Documentation 6b54b78464
Loading...
Searching...
No Matches

Base class for storing an ADT in an arbitrary number of dimensions. More...

#include <CADTBaseClass.hpp>

Inheritance diagram for CADTBaseClass:
[legend]

Public Member Functions

bool IsEmpty (void) const
 Function, which returns whether or not the ADT is empty.
 

Protected Member Functions

 CADTBaseClass ()=default
 Constructor of the class. Nothing to be done.
 
 CADTBaseClass (const CADTBaseClass &)=delete
 
CADTBaseClass & operator= (const CADTBaseClass &)=delete
 
void BuildADT (unsigned short nDim, unsigned long nPoints, const su2double *coor)
 Function, which builds the ADT of the given coordinates.
 

Protected Attributes

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< CADTNodeClass > leaves
 Vector, which contains all the leaves of the ADT.
 
array< vector< unsigned long >, 1 > FrontLeaves
 
array< vector< unsigned long >, 1 > FrontLeavesNew
 

Detailed Description

Base class for storing an ADT in an arbitrary number of dimensions.

Author
E. van der Weide

Constructor & Destructor Documentation

◆ CADTBaseClass() [1/2]

CADTBaseClass::CADTBaseClass ( )
protecteddefault

Constructor of the class. Nothing to be done.

◆ CADTBaseClass() [2/2]

CADTBaseClass::CADTBaseClass ( const CADTBaseClass &  )
protecteddelete

Member Function Documentation

◆ BuildADT()

void CADTBaseClass::BuildADT ( unsigned short  nDim,
unsigned long  nPoints,
const su2double *  coor 
)
protected

Function, which builds the ADT of the given coordinates.

Parameters
[in]nDimNumber of dimensions of the ADT.
[in]nPointsNumber of points present in the ADT.
[in]coorCoordinates of the points.

◆ IsEmpty()

bool CADTBaseClass::IsEmpty ( void  ) const
inline

Function, which returns whether or not the ADT is empty.

Returns
Whether or not the ADT is empty.

◆ operator=()

CADTBaseClass & CADTBaseClass::operator= ( const CADTBaseClass &  )
protecteddelete

Member Data Documentation

◆ FrontLeaves

array<vector<unsigned long>, 1> CADTBaseClass::FrontLeaves
protected

◆ FrontLeavesNew

array<vector<unsigned long>, 1> CADTBaseClass::FrontLeavesNew
protected

◆ isEmpty

bool CADTBaseClass::isEmpty
protected

Whether or not the ADT is empty.

◆ leaves

vector<CADTNodeClass> CADTBaseClass::leaves
protected

Vector, which contains all the leaves of the ADT.

◆ nDimADT

unsigned short CADTBaseClass::nDimADT
protected

Number of dimensions of the ADT.

◆ nLeaves

unsigned long CADTBaseClass::nLeaves
protected

Number of leaves in the ADT.


The documentation for this class was generated from the following files: