10#include <pscf/math/IntVec.h>
44 {
return (a.sqNorm < b.sqNorm); }
62 {
return (a.indicesDft < b.indicesDft); }
80 {
return (a.indicesBz > b.indicesBz); }
An IntVec<D, T> is a D-component vector of elements of integer type T.
C++ namespace for polymer self-consistent field theory (PSCF).
Utility classes for scientific computation.
Comparator for TWave objects, based on TWave::indicesBz.
bool operator()(const TWave< D > &a, const TWave< D > &b) const
Function (a, b) returns true iff a.indicesBz > b.indicesBz.
Comparator for TWave objects, based on TWave::indicesDft.
bool operator()(const TWave< D > &a, const TWave< D > &b) const
Function (a, b) returns true iff a.indicesDft < b.indicesDft.
Comparator for TWave objects, based on TWave::sqNorm.
bool operator()(const TWave< D > &a, const TWave< D > &b) const
Function (a, b) returns true iff a.sqNorm < b.sqNorm.
Simple wave struct for use within Basis construction.