Adaptive grids. More...
Adaptive grids.
Files | |
file | adapt.hh |
A free function for h-adaptivity. | |
file | adaptive/griddatatransfer.hh |
Interface to be used by classes transferring grid data on adaptive grids. | |
file | initializationindicator.hh |
Class defining an initialization indicator for grid adaption. | |
file | markelements.hh |
A function to mark element for refinement or coarsening. | |
Classes | |
class | Dumux::GridDataTransfer< Grid > |
Interface to be used by classes transferring grid data on adaptive grids. More... | |
class | Dumux::GridAdaptInitializationIndicator< TypeTag > |
Class defining an initialization indicator for grid adaption. Refines at sources and boundaries. Use before computing on the grid. More... | |
Functions | |
template<class Grid > | |
bool | Dumux::adapt (Grid &grid, GridDataTransfer< Grid > &dataTransfer) |
Adapt the grid and reconstruct the user data. More... | |
template<class Grid , class Indicator > | |
bool | Dumux::markElements (Grid &grid, const Indicator &indicator, bool verbose=true) |
A function to mark element for refinement or coarsening. More... | |
bool Dumux::adapt | ( | Grid & | grid, |
GridDataTransfer< Grid > & | dataTransfer | ||
) |
Adapt the grid and reconstruct the user data.
grid | The grid to adapt |
dataTransfer | A class that performs the data transfer from the old to the new grid. |
bool Dumux::markElements | ( | Grid & | grid, |
const Indicator & | indicator, | ||
bool | verbose = true |
||
) |
A function to mark element for refinement or coarsening.
grid | the grid to mark the entities on |
indicator | indicated per element whether to refine, coarsen, do nothing. It has a ()-operator taking an element |
verbose | If verbose output to std::cout is enabled |