PSCF v1.3
rpc/system/SystemConstRef.h
1#ifndef RPC_SYSTEM_CONST_REF_H
2#define RPC_SYSTEM_CONST_REF_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 <prdc/system/SystemConstRefReal.h> // base class template
12#include <rpc/system/System.h> // template parameter
13
14namespace Pscf {
15namespace Rpc {
16
17 using namespace Util;
18 using namespace Pscf::Prdc;
19 using namespace Pscf::Prdc::Cpu;
20
26 template <int D>
27 class SystemConstRef : public SystemConstRefReal< System<D> >
28 {
29 public:
30
33
38 : Base()
39 {};
40
47 : Base(system)
48 {};
49
50 };
51
52 // Suppress implicit instantiation
53 extern template class SystemConstRef<1>;
54 extern template class SystemConstRef<2>;
55 extern template class SystemConstRef<3>;
56
57} // namespace Rpc
58
59namespace Prdc {
60 // Suppress implicit instantiation of base class
61 extern template class SystemConstRefReal< Rpc::System<1> >;
62 extern template class SystemConstRefReal< Rpc::System<2> >;
63 extern template class SystemConstRefReal< Rpc::System<3> >;
64} // namespace Rpc
65
66} // namespace Pscf
67#endif
Const access to main components of an associated System.
SystemConstRef(System< D > const &system)
Constructor.
SystemConstRefReal< System< D > > Base
Alias for base class.
Main class, representing one complete system.
Fields and FFTs for periodic boundary conditions (CPU)
Definition CField.cpp:12
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.
Definition param_pc.dox:1