Tools for simulations using adaptive grids.
More...
|
| template<class Grid> |
| bool | Dumux::adapt (Grid &grid, GridDataTransfer< Grid > &dataTransfer) |
| | Adapt the grid and reconstruct the user data.
|
| |
| 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.
|
| |
◆ adapt()
- Parameters
-
| grid | The grid to adapt |
| dataTransfer | A class that performs the data transfer from the old to the new grid. |
◆ markElements()
template<class Grid, class Indicator>
| bool Dumux::markElements |
( |
Grid & | grid, |
|
|
const Indicator & | indicator, |
|
|
bool | verbose = true ) |
- Parameters
-
| 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 |
- Returns
- bool whether or not anything has been marked