PSCF v1.4.0
rpc/scft/sweep/LinearSweep.cpp
1/*
2* PSCF - Polymer Self-Consistent Field
3*
4* Copyright 2015 - 2025, The Regents of the University of Minnesota
5* Distributed under the terms of the GNU General Public License.
6*/
7
8#include "LinearSweep.h"
9#include <rpc/system/System.h>
10
11#include <rp/scft/sweep/LinearSweep.tpp>
12
13namespace Pscf {
14namespace Rpc {
15
16 // Constructor
17 template <int D>
19 : Rp::LinearSweep<D, Types<D> >(system)
20 {}
21
22}
23}
24
25// Explicit instantiation definitions
26namespace Pscf {
27 namespace Rp {
28 template class LinearSweep< 1, Rpc::Types<1> >;
29 template class LinearSweep< 2, Rpc::Types<2> >;
30 template class LinearSweep< 3, Rpc::Types<3> >;
31 }
32 namespace Rpc {
33 template class LinearSweep<1>;
34 template class LinearSweep<2>;
35 template class LinearSweep<3>;
36 }
37}
Sweep in which parameters vary linearly with sweep variable s.
LinearSweep(System< D > &system)
Constructor.
A complete physical system.
Aliases for types used in the Rpc program-level namespace.
Class templates for real-valued periodic fields.
Real periodic fields, SCFT and PS-FTS (CPU).
Definition param_pc.dox:2
PSCF package top-level namespace.