11#include <pscf/math/IntVec.h>
46 {
return (a.sqNorm < b.sqNorm); }
64 {
return (a.indicesStd < b.indicesStd); }
82 {
return (a.indicesMin > b.indicesMin); }
An IntVec<D, T> is a D-component vector of elements of integer type T.
Periodic fields and crystallography.
PSCF package top-level namespace.
Comparator for BWave objects, based on BWave::indicesMin.
bool operator()(const BWave< D > &a, const BWave< D > &b) const
Function (a, b) returns true iff a.indicesMin > b.indicesMin.
Comparator for BWave objects, based on BWave::sqNorm.
bool operator()(const BWave< D > &a, const BWave< D > &b) const
Function (a, b) returns true iff a.sqNorm < b.sqNorm.
Comparator for BWave objects, based on BWave::indicesStd.
bool operator()(const BWave< D > &a, const BWave< D > &b) const
Function (a, b) returns true iff a.indicesStd < b.indicesStd.
Wave struct designed for use within Basis construction.