24#ifndef DUMUX_ADAPTIVE_ADAPT_HH
25#define DUMUX_ADAPTIVE_ADAPT_HH
43 const bool mightCoarsen = grid.preAdapt();
49 const bool refine = grid.adapt();
58 return mightCoarsen || refine;
bool adapt(Grid &grid, GridDataTransfer &dataTransfer)
Adapt the grid and reconstruct the user data.
Definition: adapt.hh:40
make the local view function available whenever we use the grid geometry
Definition: adapt.hh:29
Interface to be used by classes transferring grid data on adpative grids.
Definition: adaptive/griddatatransfer.hh:34
virtual void store()=0
store user data before grid adaption
virtual void reconstruct()=0
store user data after adaption
Performs the transfer of data on a grid from before to after adaptation.