PSCF v1.4.0
rpg/scft/iterator/Iterator.h
1#ifndef RPG_ITERATOR_H
2#define RPG_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 Rpg {
15
16 template <int D> class System;
17
18 using namespace Util;
19
25 template <int D>
26 class Iterator : public Rp::Iterator<D, System<D> >
27 {
28
29 public:
30
34 Iterator();
35
42
46 virtual ~Iterator() = default;
47
48 };
49
50} // namespace Rpg
51} // namespace Pscf
52
53// Explicit instantiation declarations
54namespace Pscf {
55 namespace Rp {
56 extern template class Iterator<1, Rpg::System<1> >;
57 extern template class Iterator<2, Rpg::System<2> >;
58 extern template class Iterator<3, Rpg::System<3> >;
59 }
60 namespace Rpg {
61 extern template class Iterator<1>;
62 extern template class Iterator<2>;
63 extern template class Iterator<3>;
64 }
65}
66#endif
Base class template for iterative solvers for SCF equations.
Base class for iterative solvers for SCF equations in Rpg.
Iterator()
Default constructor.
Definition Iterator.cu:24
virtual ~Iterator()=default
Destructor.
Main class, representing a complete physical system.
SCFT and PS-FTS with real periodic fields (GPU)
PSCF package top-level namespace.