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

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

Mark cells using Dorfler marking

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