.. Documentation for the header file dolfin/adaptivity/marking.h .. _programmers_reference_cpp_adaptivity_marking: marking.h ========= .. note:: The documentation on this page was automatically extracted from the DOLFIN C++ code and may need to be edited or expanded. .. cpp:function:: void mark(MeshFunction& markers, const dolfin::MeshFunction& indicators, const std::string strategy, const double fraction) Mark cells based on indicators and given marking strategy @param markers (MeshFunction) the cell markers (to be computed) @param indicators (MeshFunction) error indicators (one per cell) @param strategy (std::string) the marking strategy @param fraction (double) the marking fraction .. cpp:function:: void dorfler_mark(MeshFunction& markers, const dolfin::MeshFunction& indicators, const double fraction) Mark cells using Dorfler marking @param markers (MeshFunction) the cell markers (to be computed) @param indicators (MeshFunction) error indicators (one per cell) @param fraction (double) the marking fraction