PSCF v1.4.0
rpg/scft/sweep/Sweep.h
1#ifndef RPG_SWEEP_H
2#define RPG_SWEEP_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/sweep/Sweep.h> // base class template
12#include <rpg/system/Types.h> // base class argument
13#include <rpg/scft/sweep/BasisFieldState.h> // indirect base argument
14
15namespace Pscf {
16namespace Rpg {
17
18 template <int D> class System;
19
20 using namespace Util;
21
34 template <int D>
35 class Sweep : public Rp::Sweep<D, Types<D> >
36 {
37
38 public:
39
43 Sweep();
44
51
55 virtual ~Sweep() = default;
56
57 };
58
59} // namespace Rpg
60} // namespace Pscf
61
62// Explicit instantiation declarations
63namespace Pscf {
64 extern template class SweepTmpl< Rpg::BasisFieldState<1> >;
65 extern template class SweepTmpl< Rpg::BasisFieldState<2> >;
66 extern template class SweepTmpl< Rpg::BasisFieldState<3> >;
67 namespace Rp {
68 extern template class Sweep<1, Rpg::Types<1> >;
69 extern template class Sweep<2, Rpg::Types<2> >;
70 extern template class Sweep<3, Rpg::Types<3> >;
71 }
72 namespace Rpg {
73 extern template class Sweep<1>;
74 extern template class Sweep<2>;
75 extern template class Sweep<3>;
76 }
77}
78#endif
Solve a sequence of SCFT problems along a line in parameter space.
Solve a sequence of SCFT problems along a line in parameter space.
virtual ~Sweep()=default
Destructor.
Sweep()
Default constructor.
Definition Sweep.cu:27
Main class, representing a complete physical system.
SCFT and PS-FTS with real periodic fields (GPU)
PSCF package top-level namespace.