LoAdSG
refinement.h
1//
2// Created by scherner on 27.07.21.
3//
4
5#ifndef GRUN_REFINEMENT_H
6#define GRUN_REFINEMENT_H
7
8#include "../BasisTransformations/BasisTransformations.h"
9
10
11class Refinement{
12public:
13 Refinement(AdaptiveSparseGrid& grid):refined(grid){};
14
15 bool apply(VectorSparseG&nodal,double eps);
16private:
17
18 VectorSparseG refined;
19};
20
21bool AdaptiveRefinement(AdaptiveSparseGrid &sgrid, VectorSparseG &nodal, double eps);
22
23
24bool AdaptiveRefinement(AdaptiveSparseGrid &sgrid, VectorSparseG &nodal, double eps,int level);
25
26bool AdaptiveRefinement(AdaptiveSparseGrid& oldgrid,AdaptiveSparseGrid& newgrid, VectorSparseG &nodal, double eps);
27
28
29bool AdaptiveRefinementL2(AdaptiveSparseGrid &sgrid, VectorSparseG &nodal, double eps);
30
31bool AdaptiveRefinementEnergy(AdaptiveSparseGrid &sgrid, VectorSparseG &nodal, double eps);
32
33#endif //GRUN_REFINEMENT_H
Definition sparseGrid.h:277