1#ifndef PRDC_K_FIELD_COMPARISON_H
2#define PRDC_K_FIELD_COMPARISON_H
11#include <prdc/cpu/RFieldDft.h>
12#include <util/containers/DArray.h>
96 #ifndef PRDC_K_FIELD_COMPARISON_TPP
Comparator for RFieldDft (k-grid) arrays.
double maxDiff() const
Return the precomputed maximum element-by-element difference.
double compare(RFieldDft< D > const &a, RFieldDft< D > const &b)
Compare individual fields.
RFieldDftComparison()
Default constructor.
double rmsDiff() const
Return the precomputed root-mean-squared difference.
Fourier transform of a real field on an FFT mesh.
Dynamically allocatable contiguous array template.
PSCF package top-level namespace.
Utility classes for scientific computation.