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