Functions
oomph::NodeOrdering Namespace Reference

Functions

bool node_global_position_comparison (Node *nd1_pt, Node *nd2_pt)
 Function for ordering nodes. Return true if first node's position is "before" second nodes. Dimension 0 checked first, then... until they are different (by more than tol=1e-10). If they are both in exactly the same place an error is thrown.
 

Function Documentation

◆ node_global_position_comparison()

bool oomph::NodeOrdering::node_global_position_comparison ( Node nd1_pt,
Node nd2_pt 
)
inlineprivate

Function for ordering nodes. Return true if first node's position is "before" second nodes. Dimension 0 checked first, then... until they are different (by more than tol=1e-10). If they are both in exactly the same place an error is thrown.

Definition at line 2926 of file mesh.h.

References e, oomph::GeomObject::ndim(), and oomph::StringConversion::to_string().

Referenced by oomph::Mesh::get_node_reordering().