1#ifndef PRDC_SORT_WAVES_H
2#define PRDC_SORT_WAVES_H
11#include <pscf/math/Sort.h>
12#include <pscf/math/IntVec.h>
13#include <util/containers/GArray.h>
64 std::vector< Sort::Item<double> >& items,
67 bool isRealField =
true);
72 std::vector< Sort::Item<double> >& ,
77 std::vector< Sort::Item<double> >& ,
82 std::vector< Sort::Item<double> >& ,
An IntVec<D, T> is a D-component vector of elements of integer type T.
Base template for UnitCell<D> classes, D=1, 2 or 3.
An automatically growable array, analogous to a std::vector.
void sortWaves(UnitCell< D > const &cell, IntVec< D > const &meshDimensions, std::vector< Sort::Item< double > > &items, GArray< Sort::Bunch > &bunches, double epsilon, bool isRealField)
Sorted waves and identify bunches of equal magnitude.
Periodic fields and crystallography.
PSCF package top-level namespace.