PSCF v1.5.0
cpp/RFieldComparison.h
1#ifndef PSCF_CPP_R_FIELD_COMPARISON_H
2#define PSCF_CPP_R_FIELD_COMPARISON_H
3
4/*
5* PSCF - Polymer Self-Consistent Field
6*
7* Copyright 2015 - 2026, David Morse (morse012@um.edu) and co-authors
8* Distributed under the terms of the GNU General Public License.
9*/
10
11#include <pscf/math/FieldComparison.h> // base class template
12#include <pscf/backend/cpp/CPT.h> // backend identifier class
13#include <pscf/field/cpp/RField.h> // template argument
14
15namespace Pscf {
16
17 using namespace Util;
18
19 // Declare primary template
20 template <int D, class T> class RFieldComparison;
21
27 template <int D>
29 : public FieldComparison< RField<D,CPT> >
30 {};
31
32 // Explicit instantiation declarations
33 extern template class RFieldComparison<1,CPT>;
34 extern template class RFieldComparison<2,CPT>;
35 extern template class RFieldComparison<3,CPT>;
36
37} // namespace Pscf
38#endif
Backend identifier class for the C++ serial CPU backend.
Definition CPT.h:32
PSCF package top-level namespace.