LoAdSG
GridGeneration.h
1//
2// Created by to35jepo on 4/12/23.
3//
4
5#ifndef SGRUN_GRIDGENERATION_H
6#define SGRUN_GRIDGENERATION_H
7
8#include "../indices/index.h"
9#include "../iterator/depthIterator.h"
10#include "sparseGrid.h"
11
12void support(const IndexDimension& P, IndexDimension& Imin, IndexDimension& Imax);
13bool overlap(const IndexDimension& P, const IndexDimension& Q, IndexDimension& Imin, IndexDimension& Imax);
14Depth max(Depth& TP, Depth& TQ);
15
16bool refill(AdaptiveSparseGrid& grid, IndexDimension P, IndexDimension Q, Depth T, unsigned long p, unsigned long q);
17bool refill_NEU(AdaptiveSparseGrid& grid, IndexDimension P, IndexDimension Q, Depth T, unsigned long p, unsigned long q, std::vector<IndexDimension>& pointsToAdd);
18void addPoints(AdaptiveSparseGrid& dGrid);
19void addPoints2(AdaptiveSparseGrid& dGrid);
20
21
22void addPoints2_NEU(AdaptiveSparseGrid& dGrid, DepthList list);
23#endif //SGRUN_GRIDGENERATION_H
Definition sparseGrid.h:277