1#ifndef PRDC_CUDA_R_FIELD_DFT_COMPARISON_H
2#define PRDC_CUDA_R_FIELD_DFT_COMPARISON_H
12#include <util/containers/DArray.h>
96 #ifndef PRDC_CUDA_R_FIELD_DFT_COMPARISON_TPP
Comparator for RFieldDft (k-grid) arrays.
Fourier transform of a real field on an FFT mesh.
double compare(DArray< RFieldDft< D > > const &a, DArray< RFieldDft< D > > const &b)
Compare arrays of fields associated with different monomer types.
double rmsDiff() const
Return the precomputed root-mean-squared difference.
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.
Dynamically allocatable contiguous array template.
PSCF package top-level namespace.
Utility classes for scientific computation.