PSCF
v1.3
src
rpg
field
HostDArrayComplex.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 "HostDArrayComplex.h"
9
10
namespace
Pscf
{
11
namespace
Rpg
{
12
13
using namespace
Util;
14
15
/*
16
* Default constructor.
17
*/
18
HostDArrayComplex::HostDArrayComplex
()
19
:
HostDArray
<
Complex
>()
20
{}
21
22
/*
23
* Allocating constructor.
24
*/
25
HostDArrayComplex::HostDArrayComplex
(
int
capacity
)
26
:
HostDArray
<
Complex
>(
capacity
)
27
{}
28
29
/*
30
* Copy constructor.
31
*/
32
HostDArrayComplex::HostDArrayComplex
(
HostDArrayComplex
const
& other)
33
:
HostDArray
<
Complex
>(other)
34
{}
35
36
/*
37
* Destructor.
38
*/
39
HostDArrayComplex::~HostDArrayComplex
()
40
{}
41
42
}
// namespace Rpg
43
}
// namespace Pscf
Pscf::HostDArray< Prdc::Cuda::cudaComplex >::HostDArray
HostDArray()
Definition
HostDArray.h:123
Pscf::Rpg::HostDArrayComplex::~HostDArrayComplex
~HostDArrayComplex()
Destructor.
Definition
HostDArrayComplex.cu:39
Pscf::Rpg::HostDArrayComplex::HostDArrayComplex
HostDArrayComplex()
Default constructor.
Definition
HostDArrayComplex.cu:18
Pscf::Rpg::HostDArrayComplex::Complex
Prdc::Cuda::cudaComplex Complex
Complex number type.
Definition
HostDArrayComplex.h:37
Util::Array< Prdc::Cuda::cudaComplex >::capacity
int capacity() const
Definition
Array.h:159
Pscf::Rpg
SCFT and PS-FTS with real periodic fields (GPU)
Definition
rpg/environment/environment.mod:3
Pscf
PSCF package top-level namespace.
Definition
param_pc.dox:1
Generated on
for PSCF by
1.14.0