3.2-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Files | Classes | Functions
Adaptive

Adaptive grids. More...

Description

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 adpative 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
 Interface to be used by classes transferring grid data on adpative 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 &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...
 

Function Documentation

◆ adapt()

template<class Grid >
bool Dumux::adapt ( Grid &  grid,
GridDataTransfer dataTransfer 
)

Adapt the grid and reconstruct the user data.

Parameters
gridThe grid to adapt
dataTransferA 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 
)

A function to mark element for refinement or coarsening.

Parameters
gridthe grid to mark the entities on
indicatorindicated per element whether to refine, coarsen, do nothing. It has a ()-operator taking an element
verboseIf verbose output to std::cout is enabled
Returns
bool whether or not anything has been marked