SU2
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
su2_adtBaseClass Class Reference

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

#include <adt_structure.hpp>

Inheritance diagram for su2_adtBaseClass:
su2_adtPointsOnlyClass

Public Member Functions

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

Protected Member Functions

 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...
 

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< su2_adtNodeClassleaves
 Vector, which contains all the leaves of the ADT.
 

Detailed Description

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

Author
E. van der Weide
Version
4.1.3 "Cardinal"

Member Function Documentation

§ BuildADT()

void su2_adtBaseClass::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 su2_adtBaseClass::IsEmpty ( void  ) const
inline

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

Returns
Whether or not the ADT is empty.

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