Functions
oomph::NodeOrdering Namespace Reference

///////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////// More...

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. More...
 

Detailed Description

///////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////

Function Documentation

◆ node_global_position_comparison()

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

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 2918 of file mesh.h.

References e, oomph::Node::ndim(), oomph::Global_string_for_annotation::string(), oomph::StringConversion::to_string(), and oomph::Node::x().

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