PSCF v1.4.0
rpc/scft/iterator/Iterator.h
1#ifndef RPC_ITERATOR_H
2#define RPC_ITERATOR_H
3
4/*
5* PSCF - Polymer Self-Consistent Field
6*
7* Copyright 2015 - 2025, The Regents of the University of Minnesota
8* Distributed under the terms of the GNU General Public License.
9*/
10
11#include <rp/scft/iterator/Iterator.h> // base class template
12
13namespace Pscf {
14namespace Rpc {
15
16 // Forward declaration
17 template <int D> class System;
18
19 using namespace Util;
20
26 template <int D>
27 class Iterator : public Rp::Iterator<D, System<D> >
28 {
29
30 public:
31
35 Iterator();
36
43
47 virtual ~Iterator() = default;
48
49 };
50
51} // namespace Rpc
52} // namespace Pscf
53
54// Explicit instantiation declarations
55namespace Pscf {
56 namespace Rp {
57 extern template class Iterator<1, Rpc::System<1> >;
58 extern template class Iterator<2, Rpc::System<2> >;
59 extern template class Iterator<3, Rpc::System<3> >;
60 }
61 namespace Rpc {
62 extern template class Iterator<1>;
63 extern template class Iterator<2>;
64 extern template class Iterator<3>;
65 }
66}
67#endif
Base class template for iterative solvers for SCF equations.
Base class for iterative solvers for SCF equations in Rpc.
virtual ~Iterator()=default
Destructor.
A complete physical system.
Real periodic fields, SCFT and PS-FTS (CPU).
Definition param_pc.dox:2
PSCF package top-level namespace.