Stellarator and Tokamak Modeling and Meshing Software (STOMMS)
Loading...
Searching...
No Matches
CompEntity Class Reference

Public Member Functions

bool operator() (const Vertex &v1, const Vertex &v2) const
bool operator() (const Edge &e1, const Edge &e2) const
bool operator() (const Face &f1, const Face &f2) const

Detailed Description

An operator to compare the tags of model entities. uses underlying simmetrix entity tags.

Member Function Documentation

◆ operator()() [1/3]

bool CompEntity::operator() ( const Edge & e1,
const Edge & e2 ) const

Compares the tags of model edges.

Parameters
e1first edge.
e2second edge.
Returns
true if tag of e1 is smaller than e2.

◆ operator()() [2/3]

bool CompEntity::operator() ( const Face & f1,
const Face & f2 ) const

Compares the tags of model faces.

Parameters
f1first face.
f2second face.
Returns
true if tag of f1 is smaller than f2.

◆ operator()() [3/3]

bool CompEntity::operator() ( const Vertex & v1,
const Vertex & v2 ) const

Compares the tags of model vertices.

Parameters
v1first vertex.
v2second vertex.
Returns
true if tag of v1 is smaller than v2.