PSCF v1.4.0
Mask.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 "Mask.h"
9#include <pscf/cpu/Reduce.h>
10
11#include <rp/field/Mask.tpp> // base class template implementation
12
13// Explicit instantiation definitions
14namespace Pscf {
15 namespace Rp {
16 using namespace Prdc::Cpu;
17 template class Rp::Mask< 1, RField<1>, Rpc::FieldIo<1> >;
18 template class Rp::Mask< 2, RField<2>, Rpc::FieldIo<2> >;
19 template class Rp::Mask< 3, RField<3>, Rpc::FieldIo<3> >;
20 }
21 namespace Rpc {
22 template class Mask<1>;
23 template class Mask<2>;
24 template class Mask<3>;
25 }
26}
A field to which the total density is constrained.
Definition /field/Mask.h:34
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.