dune-pdelab
2.0.0
|
Class for automatic adaptation of the grid. More...
#include <dune/pdelab/adaptivity/adaptivity.hh>
Public Types | |
typedef unordered_map< ID, std::vector< typename U::ElementType > > | MapType |
Public Member Functions | |
GridAdaptor (const GFSU &gfs) | |
The constructor. More... | |
void | backupData (Grid &grid, GFSU &gfsu, Projection &projection, U &u, MapType &transfer_map) |
void | replayData (Grid &grid, GFSU &gfsu, Projection &projection, U &u, const MapType &transfer_map) |
Class for automatic adaptation of the grid.
The GridAdaptor capsules the act of deciding which Elems to refine and coarsen, adapting the grid, and transfering the solution from the old grid to the new one. Currrently this only works for scalar solutions.
Grid | Type of the grid we want to adapt |
GFSU | Type of ansatz space, we need to update it after adaptation |
U | Container class of the solution |
Projection | Projection used when Elems vanish |
typedef unordered_map<ID,std::vector<typename U::ElementType> > Dune::PDELab::GridAdaptor< Grid, GFSU, U, Projection >::MapType |
|
inlineexplicit |
The constructor.
grid_ | The grid we want to adapt |
gfsu_ | The ansatz space, we need to update it |
projection_ | The Projection used when Elems vanish |
|
inline |
Referenced by Dune::PDELab::adapt_grid().
|
inline |
References e.
Referenced by Dune::PDELab::adapt_grid().