PSCF v1.2
Pscf::Prdc::TWaveNormComp< D > Struct Template Reference

Comparator for TWave objects, based on TWave::sqNorm. More...

#include <TWave.h>

Public Member Functions

bool operator() (const TWave< D > &a, const TWave< D > &b) const
 Function (a, b) returns true iff a.sqNorm < b.sqNorm.
 

Detailed Description

template<int D>
struct Pscf::Prdc::TWaveNormComp< D >

Comparator for TWave objects, based on TWave::sqNorm.

Used to sort in ascending order of wavevector norm.

Definition at line 39 of file TWave.h.

Member Function Documentation

◆ operator()()

template<int D>
bool Pscf::Prdc::TWaveNormComp< D >::operator() ( const TWave< D > & a,
const TWave< D > & b ) const
inline

Function (a, b) returns true iff a.sqNorm < b.sqNorm.

Definition at line 44 of file TWave.h.


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