20#ifndef LIBMESH_COMPARE_ELEMS_BY_LEVEL_H
21#define LIBMESH_COMPARE_ELEMS_BY_LEVEL_H
25#include "libmesh/elem.h"
50 al = a->
level(), bl =
b->level();
52 aid = a->
id(), bid =
b->id();
54 return (al == bl) ? aid < bid : al < bl;
This is the base class from which all geometric element types are derived.
unsigned int level() const
The libMesh namespace provides an interface to certain functionality in the library.
Specific weak ordering for Elem *'s to be used in a set.
bool operator()(const Elem *a, const Elem *b) const