PSCF v1.4.0
AmIteratorGrid.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 "AmIteratorGrid.h" // class header
9#include <rpc/system/System.h>
10#include <rpc/solvers/Mixture.h>
11#include <rpc/field/Domain.h>
12#include <rpc/field/CFields.h>
13#include <rpc/field/WFields.h>
14#include <rpc/field/Mask.h>
15#include <prdc/cpu/RField.h>
16#include <pscf/cpu/VecOp.h>
17#include <pscf/cpu/Reduce.h>
18
19#include <rp/scft/iterator/AmIteratorGrid.tpp> // base class implementation
20
21namespace Pscf {
22 namespace Rpc {
23
24 // Constructor
25 template <int D>
29
30 }
31}
32
33// Explicit instantiation definitions
34namespace Pscf {
35 template class AmIteratorTmpl< Rpc::Iterator<1>, DRArray<double> >;
36 template class AmIteratorTmpl< Rpc::Iterator<2>, DRArray<double> >;
37 template class AmIteratorTmpl< Rpc::Iterator<3>, DRArray<double> >;
38 namespace Rp {
39 template class AmIteratorGrid<1, Rpc::Types<1> >;
40 template class AmIteratorGrid<2, Rpc::Types<2> >;
41 template class AmIteratorGrid<3, Rpc::Types<3> >;
42 }
43 namespace Rpc {
44 template class AmIteratorGrid<1>;
45 template class AmIteratorGrid<2>;
46 template class AmIteratorGrid<3>;
47 }
48}
Anderson Mixing iterator on grid (no space-group symmetry).
AmIteratorGrid(System< D > &system)
Constructor.
A complete physical system.
Aliases for types used in the Rpc program-level namespace.
Array that can own or reference a dynamically allocated C array.
Definition DRArray.h:74
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.