1#ifndef PSCF_C_FIELD_COMPARISON_CP_H
2#define PSCF_C_FIELD_COMPARISON_CP_H
11#include <pscf/backend/cpp/CPT.h>
15 template <
typename T>
class DArray;
18 template <
int D,
class T>
class CField;
106 extern template class CFieldComparison<1,CPT>;
107 extern template class CFieldComparison<2,CPT>;
108 extern template class CFieldComparison<3,CPT>;
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, CPT > const &a, CField< D, CPT > const &b)
Compare individual fields.
CFieldComparison()
Default constructor.
Backend identifier class for the C++ serial CPU backend.
Dynamically allocatable contiguous array template.
PSCF package top-level namespace.
Utility classes for scientific computation.