PSCF v1.4.0
Sweep.cu
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 <rpg/system/System.h>
11#include <rpg/scft/iterator/Iterator.h>
12#include <rpg/scft/ScftThermo.h>
13#include <rpg/solvers/Mixture.h>
14#include <rpg/field/Domain.h>
15#include <rpg/field/WFields.h>
16#include <rpg/field/CFields.h>
17
18#include <rp/scft/sweep/Sweep.tpp>
19
20namespace Pscf {
21namespace Rpg {
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 Rpg
38} // namespace Pscf
39
40// Explicit instantiation definitions
41namespace Pscf {
42 template class SweepTmpl< Rpg::BasisFieldState<1> >;
43 template class SweepTmpl< Rpg::BasisFieldState<2> >;
44 template class SweepTmpl< Rpg::BasisFieldState<3> >;
45 namespace Rp {
46 template class Sweep<1, Rpg::Types<1> >;
47 template class Sweep<2, Rpg::Types<2> >;
48 template class Sweep<3, Rpg::Types<3> >;
49 }
50 namespace Rpg {
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.
Definition Sweep.cu:27
Main class, representing a complete physical system.
List of aliases for types used in the Rpg program-level namespace.
Class templates for real-valued periodic fields.
SCFT and PS-FTS with real periodic fields (GPU)
PSCF package top-level namespace.