PSCF v1.1
Public Member Functions | List of all members
Pscf::TWaveDftComp< D > Struct Template Reference

Comparator for TWave objects, based on TWave::indicesDft. 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.indicesDft < b.indicesDft. More...
 

Detailed Description

template<int D>
struct Pscf::TWaveDftComp< D >

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

Used to sort set of unique waves in ascending order of dft indices.

Definition at line 56 of file TWave.h.

Member Function Documentation

◆ operator()()

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

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

Definition at line 61 of file TWave.h.


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