PSCF v1.2
HostDArrayComplex.cu
1/*
2* PSCF - Polymer Self-Consistent Field Theory
3*
4* Copyright 2016 - 2022, The Regents of the University of Minnesota
5* Distributed under the terms of the GNU General Public License.
6*/
7
8#include "HostDArrayComplex.h"
9
10namespace Pscf {
11namespace Rpg {
12
13 using namespace Util;
14
15 /*
16 * Default constructor.
17 */
21
22 /*
23 * Allocating constructor.
24 */
26 : HostDArray<Complex>(capacity)
27 {}
28
29 /*
30 * Copy constructor.
31 */
35
36 /*
37 * Destructor.
38 */
41
42} // namespace Rpg
43} // namespace Pscf
Template for dynamic array stored in host CPU memory.
Definition HostDArray.h:43
HostDArray containing cudaComplex elements.
HostDArrayComplex()
Default constructor.
Prdc::Cuda::cudaComplex Complex
Complex number type.
PSCF package top-level namespace.
Definition param_pc.dox:1
Utility classes for scientific computation.