PSCF v1.4.0
rpc/field/CFields.h
1#ifndef RPC_C_FIELDS_H
2#define RPC_C_FIELDS_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 <rp/field/CFields.h> // base class template
12#include <prdc/cpu/RField.h> // base class member
13
14namespace Pscf {
15namespace Rpc {
16
17 // Forward declaration
18 template <int D> class FieldIo;
19
20 using namespace Util;
21 using namespace Prdc;
22 using namespace Prdc::Cpu;
23
35 template <int D>
36 class CFields : public Rp::CFields<D, RField<D>, FieldIo<D> >
37 {};
38
39} // namespace Rpc
40} // namespace Pscf
41
42// Explicit instantiation declarations
43namespace Pscf {
44 namespace Rp {
45 using namespace Prdc;
46 extern template class CFields<1, Cpu::RField<1>, Rpc::FieldIo<1> >;
47 extern template class CFields<2, Cpu::RField<2>, Rpc::FieldIo<2> >;
48 extern template class CFields<3, Cpu::RField<3>, Rpc::FieldIo<3> >;
49 }
50 namespace Rpc {
51 extern template class CFields<1>;
52 extern template class CFields<2>;
53 extern template class CFields<3>;
54 }
55}
56#endif
A list of c fields stored in both basis and r-grid format.
A container for c fields stored in both basis and r-grid format.
File input/output operations and format conversions for fields.
Periodic fields and crystallography.
Definition complex.cpp:11
Real periodic fields, SCFT and PS-FTS (CPU).
Definition param_pc.dox:2
PSCF package top-level namespace.