1#ifndef PSPG_K_FIELD_COMPARISON_H
2#define PSPG_K_FIELD_COMPARISON_H
11#include <util/containers/DArray.h>
12#include <pspg/field/RDFieldDft.h>
13#include <pspg/math/GpuResources.h>
96 #ifndef PSPG_K_FIELD_COMPARISON_TPP
98 extern template class KFieldComparison<1>;
99 extern template class KFieldComparison<2>;
100 extern template class KFieldComparison<3>;
Comparator for RDFieldDft (k-grid) arrays.
double rmsDiff() const
Return the precomputed root-mean-squared difference.
KFieldComparison()
Default constructor.
double compare(RDFieldDft< D > const &a, RDFieldDft< D > const &b)
Compare individual fields.
double maxDiff() const
Return the precomputed maximum element-by-element difference.
Discrete Fourier Transform (DFT) of a real field on an FFT mesh.
Dynamically allocatable contiguous array template.
C++ namespace for polymer self-consistent field theory (PSCF).
Utility classes for scientific computation.