PSCF v1.3.3
rpc/system/System.cpp
1#ifndef RPC_SYSTEM_CPP
2#define RPC_SYSTEM_CPP
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 "System.h"
12#include <prdc/system/SystemTmpl.tpp>
13
14#include <rpc/environment/EnvironmentFactory.h>
15#include <rpc/fts/simulator/Simulator.h>
16#include <rpc/fts/simulator/SimulatorFactory.h>
17#include <rpc/fts/compressor/Compressor.h>
18#include <rpc/fts/compressor/CompressorFactory.h>
19#include <rpc/scft/ScftThermo.h>
20#include <rpc/scft/iterator/Iterator.h>
21#include <rpc/scft/iterator/IteratorFactory.h>
22#include <rpc/scft/sweep/Sweep.h>
23#include <rpc/scft/sweep/SweepFactory.h>
24#include <rpc/solvers/Mixture.h>
25#include <rpc/solvers/MixtureModifier.h>
26#include <rpc/field/Domain.h>
27
28#include <prdc/cpu/WaveList.h>
29#include <prdc/cpu/FFT.h>
30#include <prdc/cpu/RField.h>
31#include <prdc/cpu/RFieldDft.h>
32#include <prdc/environment/Environment.h>
33
34#include <pscf/inter/Interaction.h>
35
36namespace Pscf {
37
38 namespace Prdc {
39
40 // Explicit instantiation of base class template
41 template class SystemTmpl< 1, Rpc::Types<1> >;
42 template class SystemTmpl< 2, Rpc::Types<2> >;
43 template class SystemTmpl< 3, Rpc::Types<3> >;
44
45 }
46
47 namespace Rpc {
48
49 /*
50 * Constructor.
51 */
52 template <int D>
54 : SystemTmpl<D, Types<D> >(*this)
55 { ParamComposite::setClassName("System"); }
56
57 // Explicit instantiation
58 template class System<1>;
59 template class System<2>;
60 template class System<3>;
61
62 }
63}
64#endif
Base class template for classes that represent a complete system.
Definition SystemTmpl.h:103
SystemTmpl(typename Types< D >::System &system)
Main class, representing a complete physical system.
List of aliases for types used the in Rpc namespace.
void setClassName(const char *className)
Set class name string.
Periodic fields and crystallography.
Definition CField.cpp:11
Real periodic fields, SCFT and PS-FTS (CPU).
Definition param_pc.dox:2
PSCF package top-level namespace.