Rewriting adaptive grid
Compare changes
+ 1
− 0
The class AdaptiveGrid
is now a real dune grid, is derived from GridDefaultImplementation
and can be used wherever a grid/gridview is expected.
Additionally to make AdaptiveGrid
a dune grid, I have removed the static instance
method. It was necessary, to always create an AdaptiveGrid before any function providing a const Grid&
can use it (like the makeGlobalBasis
function. Thus, this is the same, as requiring that the user always constructs an AdaptiveGrid. This can be done with a regular constructor. Since then the grid is created and the GridView returns the correct AdaptiveGrid on grid()
, the GridView can be directly passed to the ParallelGlobalBasis.