PSCF v1.4.0
rpc/scft/sweep/LinearSweep.h
1#ifndef RPC_LINEAR_SWEEP_H
2#define RPC_LINEAR_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/LinearSweep.h> // direct base class template
12#include <rpc/system/Types.h> // base class argument
13#include <rpc/scft/sweep/Sweep.h> // indirect base class
14#include <rpc/scft/sweep/SweepParameter.h> // indirect base member
15
16namespace Pscf {
17namespace Rpc {
18
19 // Forward declaration
20 template <int D> class System;
21
34 template <int D>
35 class LinearSweep : public Rp::LinearSweep<D, Types<D> >
36 {
37 public:
38
44 LinearSweep(System<D>& system);
45
46 };
47
48}
49}
50
51// Explicit instantiation declarations
52namespace Pscf {
53 namespace Rp {
54 extern template class LinearSweep<1, Rpc::Types<1> >;
55 extern template class LinearSweep<2, Rpc::Types<2> >;
56 extern template class LinearSweep<3, Rpc::Types<3> >;
57 }
58 namespace Rpc {
59 extern template class LinearSweep<1>;
60 extern template class LinearSweep<2>;
61 extern template class LinearSweep<3>;
62 }
63}
64#endif
Sweep in which parameters vary linearly with sweep variable s.
Sweep in which parameters vary linearly with sweep variable s.
LinearSweep(System< D > &system)
Constructor.
A complete physical system.
Real periodic fields, SCFT and PS-FTS (CPU).
Definition param_pc.dox:2
PSCF package top-level namespace.