LifeV
|
Compare according to local ID. More...
#include <MeshEntityContainer.hpp>
Public Member Functions | |
CompareAccordingToLocalId (Policy const &p=std::less< ID >()) | |
Constructor. More... | |
bool | operator() (MeshEntity const &a, MeshEntity const &b) |
Private Attributes | |
const Policy | M_policy |
Compare according to local ID.
It compares according to the ID (local ID) of a MeshEntity and it relies on std comparison operators It defaults to std::less<ID>. We rely on the fact that std::less<ID>(ID a, ID b) is defined (otherwise the user must supply it).
Definition at line 73 of file MeshEntityContainer.hpp.
|
inline |
Constructor.
The constructor can receive anything which is convertible the chosen policy type. This allows great flexibility (maybe too much!)
Definition at line 81 of file MeshEntityContainer.hpp.
|
inline |
Definition at line 83 of file MeshEntityContainer.hpp.
|
private |
Definition at line 89 of file MeshEntityContainer.hpp.