Stellarator and Tokamak Modeling and Meshing Software (STOMMS)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
CompEntity Class Reference

Public Member Functions

bool operator() (Vertex v1, Vertex v2) const
 
bool operator() (Edge e1, Edge e2) const
 
bool operator() (Face f1, 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() ( Edge  e1,
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() ( Face  f1,
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() ( Vertex  v1,
Vertex  v2 
) const

Compares the tags of model vertices.

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