PSCF v1.4.0
AmIteratorGrid.cu
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"
9#include <rpg/system/System.h>
10#include <rpg/solvers/Mixture.h>
11#include <rpg/field/Domain.h>
12#include <rpg/field/CFields.h>
13#include <rpg/field/WFields.h>
14#include <rpg/field/Mask.h>
15#include <prdc/cuda/RField.h>
16#include <pscf/cuda/VecOp.h>
17#include <pscf/cuda/Reduce.h>
18
19#include <rp/scft/iterator/AmIteratorGrid.tpp>
20
21namespace Pscf {
22 namespace Rpg {
23
24 // Constructor.
25 template <int D>
29
30 }
31}
32
33// Explicit instantiation definitions
34namespace Pscf {
35 template class AmIteratorTmpl< Rpg::Iterator<1>, DeviceArray<cudaReal> >;
36 template class AmIteratorTmpl< Rpg::Iterator<2>, DeviceArray<cudaReal> >;
37 template class AmIteratorTmpl< Rpg::Iterator<3>, DeviceArray<cudaReal> >;
38 namespace Rp {
39 template class AmIteratorGrid<1, Rpg::Types<1> >;
40 template class AmIteratorGrid<2, Rpg::Types<2> >;
41 template class AmIteratorGrid<3, Rpg::Types<3> >;
42 }
43 namespace Rpg {
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.
Main class, representing a complete physical system.
List of aliases for types used in the Rpg program-level namespace.
Class templates for real-valued periodic fields.
SCFT and PS-FTS with real periodic fields (GPU)
PSCF package top-level namespace.