LoAdSG
|
#include <sparseGrid.h>
Public Member Functions | |
void | printCoordinates () |
Prints coordinates of adaptive sparse grid. | |
void | Print_gnu (string name) |
Prints coordinates of adaptive sparse grid in gnu-file. | |
void | PrintActiveHanging (int level) |
prints active nodes (o) and hanging nodes (x) | |
void | PrintGridIndices (int level, IndexDimension *Indices, int numberofindices) |
prints all nodes and highlights given Indices | |
bool | occupied (unsigned long &indexOfData, IndexDimension I) |
IndexDimension | getIndexOfTable (unsigned long i) |
unsigned long | hash (IndexDimension index) |
Protected Member Functions | |
AdaptiveSparseGrid_Base () | |
unsigned long | getFreeSpaceNumberInSecondTable () |
Protected Attributes | |
unsigned long * | secondTable |
| |
bool * | isActiveNodeTable |
| |
int * | indicesSecondTable |
| |
int * | indicesSupportMin |
| |
adaptive sparse grid
| | | | | | | | <--- minimalEmpty | prime | |second | (index,...) ------------> | table | -----> |table | <--| hashfunction | | | | | | | | | ---|
|
protected |
>for every point we need to store three indices i.e. i_x and i_y
>for every point we need to store three indices i.e. i_x and i_y
>for every point we need to store three indices i.e. i_x and i_y
|
protected |
|
inline |
i | kodierung des Index als langer unsigned long |
|
inline |
|
inline |
schaut nach ob Punkt im Gitter ist
I | index des Punktes |
indexOfData | return: index der daten, falls Punkt im Gitter ist |