1#ifndef PSCF_FIELD_COMPARISON_H
2#define PSCF_FIELD_COMPARISON_H
11#include <util/containers/DArray.h>
52 double compare(FT
const& a, FT
const& b);
102#include "FieldComparison.tpp"
Comparison of element-by-element differences between field arrays.
double rmsDiff() const
Return the precomputed root-mean-squared difference.
FieldComparison(int begin=0)
Default constructor.
double compare(FT const &a, FT const &b)
Compare individual fields.
double maxDiff() const
Return the precomputed maximum element-by-element difference.
Dynamically allocatable contiguous array template.
PSCF package top-level namespace.
Utility classes for scientific computation.