marking.h

Note

The documentation on this page was automatically extracted from the DOLFIN C++ code and may need to be edited or expanded.

void mark(MeshFunction<bool> &markers, const dolfin::MeshFunction<double> &indicators, const std::string strategy, const double fraction)

Mark cells based on indicators and given marking strategy

Arguments
markers (MeshFunction <bool>)
the cell markers (to be computed)
indicators (MeshFunction <double>)
error indicators (one per cell)
strategy (std::string)
the marking strategy
fraction (double)
the marking fraction
void dorfler_mark(MeshFunction<bool> &markers, const dolfin::MeshFunction<double> &indicators, const double fraction)

Mark cells using Dorfler marking

Arguments
markers (MeshFunction <bool>)
the cell markers (to be computed)
indicators (MeshFunction <double>)
error indicators (one per cell)
fraction (double)
the marking fraction