Loading...
Searching...
No Matches
eonc::geometry::by_atom Struct Reference

Public Member Functions

bool operator() (atom const &a, atom const &b) const

Detailed Description

Definition at line 358 of file GeometryAnalysis.cpp.

Member Function Documentation

◆ operator()()

bool eonc::geometry::by_atom::operator() ( atom const & a,
atom const & b ) const
inline

Definition at line 359 of file GeometryAnalysis.cpp.

359 {
360 if (a.z != b.z) {
361 return a.z < b.z;
362 } else {
363 return a.r < b.r;
364 }
365 }

The documentation for this struct was generated from the following file: