PSCF v1.4.0
rpc/scft/sweep/Sweep.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 "Sweep.h"
9
10#include <rpc/system/System.h>
11#include <rpc/scft/iterator/Iterator.h>
12#include <rpc/scft/ScftThermo.h>
13#include <rpc/solvers/Mixture.h>
14#include <rpc/field/Domain.h>
15#include <rpc/field/WFields.h>
16#include <rpc/field/CFields.h>
17
18#include <rp/scft/sweep/Sweep.tpp>
19
20namespace Pscf {
21namespace Rpc {
22
23 using namespace Util;
24
25 // Default constructor (for unit testing).
26 template <int D>
28 : Rp::Sweep<D, Types<D> >()
29 {}
30
31 // Constructor, creates association with parent system.
32 template <int D>
34 : Rp::Sweep<D, Types<D> >(sys)
35 {}
36
37} // namespace Rpc
38} // namespace Pscf
39
40// Explicit instantiation definitions
41namespace Pscf {
42 template class SweepTmpl< Rpc::BasisFieldState<1> >;
43 template class SweepTmpl< Rpc::BasisFieldState<2> >;
44 template class SweepTmpl< Rpc::BasisFieldState<3> >;
45 namespace Rp {
46 template class Sweep<1, Rpc::Types<1> >;
47 template class Sweep<2, Rpc::Types<2> >;
48 template class Sweep<3, Rpc::Types<3> >;
49 }
50 namespace Rpc {
51 template class Sweep<1>;
52 template class Sweep<2>;
53 template class Sweep<3>;
54 }
55}
Solve a sequence of SCFT problems along a line in parameter space.
Sweep()
Default 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.