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

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

Detailed Description

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

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

Used to sort in descending order of Bz (Brillouin zone) indices.

Definition at line 74 of file TWave.h.

Member Function Documentation

◆ operator()()

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

Function (a, b) returns true iff a.indicesBz > b.indicesBz.

Definition at line 79 of file TWave.h.


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