1#ifndef PRDC_CPU_C_FIELD_COMPARISON_H
2#define PRDC_CPU_C_FIELD_COMPARISON_H
11#include <prdc/cpu/CField.h>
12#include <util/containers/DArray.h>
96 #ifndef PRDC_CPU_C_FIELD_COMPARISON_TPP
Comparator for CField (k-grid) arrays.
double rmsDiff() const
Return the precomputed root-mean-squared difference.
double maxDiff() const
Return the precomputed maximum element-by-element difference.
double compare(CField< D > const &a, CField< D > const &b)
Compare individual fields.
CFieldComparison()
Default constructor.
Field of complex double precision values on an FFT mesh.
Dynamically allocatable contiguous array template.
Fields and FFTs for periodic boundary conditions (CPU)
Periodic fields and crystallography.
PSCF package top-level namespace.