|
PSCF v1.5.0
|
Comparator for fields in real-space (r-grid) format. More...
#include <RFieldComparison.h>
Public Member Functions | |
| RFieldComparison () | |
| Constructor. | |
| double | compare (RField< D, CUT > const &a, RField< D, CUT > const &b) |
| Comparator for individual fields. | |
| double | compare (DArray< RField< D, CUT > > const &a, DArray< RField< D, CUT > > const &b) |
| Comparator for arrays of fields. | |
| double | maxDiff () const |
| Get precomputed maximum element-by-element difference. | |
| double | rmsDiff () const |
| Get precomputed rms difference. | |
Comparator for fields in real-space (r-grid) format.
Definition at line 28 of file cuda/RFieldComparison.h.
| Pscf::RFieldComparison< D, CUT >::RFieldComparison | ( | ) |
Constructor.
Definition at line 21 of file RFieldComparison.tpp.
References RFieldComparison().
Referenced by compare(), compare(), and RFieldComparison().
| double Pscf::RFieldComparison< D, CUT >::compare | ( | RField< D, CUT > const & | a, |
| RField< D, CUT > const & | b ) |
Comparator for individual fields.
| a | first array of fields |
| b | second array of fields |
Definition at line 28 of file RFieldComparison.tpp.
References RFieldComparison().
| double Pscf::RFieldComparison< D, CUT >::compare | ( | DArray< RField< D, CUT > > const & | a, |
| DArray< RField< D, CUT > > const & | b ) |
Comparator for arrays of fields.
| a | first array of fields |
| b | second array of fields |
Definition at line 49 of file RFieldComparison.tpp.
References Util::DArray< Data >::allocate(), and RFieldComparison().
|
inline |
Get precomputed maximum element-by-element difference.
Definition at line 59 of file cuda/RFieldComparison.h.
|
inline |
Get precomputed rms difference.
Definition at line 65 of file cuda/RFieldComparison.h.