#include <compare_elems_by_level.h>
Public Member Functions | |
bool | operator() (const Elem *a, const Elem *b) const |
Specific weak ordering for Elem *'s to be used in a set. We use the id, but first sort by level. This guarantees when traversing the set from beginning to end the lower level (parent) elements are encountered first.
Definition at line 42 of file compare_elems_by_level.h.
Definition at line 44 of file compare_elems_by_level.h.
References libMesh::DofObject::id(), and libMesh::Elem::level().