In describing these algorithms, the details on how to know when
a mesh node should be refined or coarsened are omitted. Each mesh
node has associated fields refineFlags and coarsenFlags;
these are lists of dimensions in which the corresponding node has
been flagged for refinement or coarsening.