PhasicFlow
v0.1
www.cemf.ir
Fields.hpp
Go to the documentation of this file.
1
/*------------------------------- phasicFlow ---------------------------------
2
O C enter of
3
O O E ngineering and
4
O O M ultiscale modeling of
5
OOOOOOO F luid flow
6
------------------------------------------------------------------------------
7
Copyright (C): www.cemf.ir
8
email: hamid.r.norouzi AT gmail.com
9
------------------------------------------------------------------------------
10
Licence:
11
This file is part of phasicFlow code. It is a free software for simulating
12
granular and multiphase flows. You can redistribute it and/or modify it under
13
the terms of GNU General Public License v3 or any other later versions.
14
15
phasicFlow is distributed to help others in their research in the field of
16
granular and multiphase flows, but WITHOUT ANY WARRANTY; without even the
17
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18
19
-----------------------------------------------------------------------------*/
20
21
#ifndef __Fields_hpp__
22
#define __Fields_hpp__
23
24
#include "
types.hpp
"
25
#include "
Field.hpp
"
26
#include "
VectorSingle.hpp
"
27
#include "
VectorDual.hpp
"
28
29
30
namespace
pFlow
31
{
32
33
34
using
int8Field_D
=
Field<VectorSingle, int8>
;
35
36
using
int8Field_H
=
Field<VectorSingle, int8, HostSpace>
;
37
38
using
int16Field_D
=
Field<VectorSingle, int16>
;
39
40
using
int16Field_H
=
Field<VectorSingle, int16, HostSpace>
;
41
42
using
int32Field_D
=
Field<VectorSingle, int32>
;
43
44
using
int32Field_H
=
Field<VectorSingle, int32, HostSpace>
;
45
46
using
int64Field_D
=
Field<VectorSingle, int64>
;
47
48
using
int64Field_H
=
Field<VectorSingle, int64, HostSpace>
;
49
50
using
uint32Field_D
=
Field<VectorSingle, uint32>
;
51
52
using
uint32Field_H
=
Field<VectorSingle, uint32, HostSpace>
;
53
54
using
labelField_D
=
Field<VectorSingle, label>
;
55
56
using
labelField_H
=
Field<VectorSingle, label, HostSpace>
;
57
58
using
realField_D
=
Field<VectorSingle, real>
;
59
60
using
realField_H
=
Field<VectorSingle, real, HostSpace>
;
61
62
using
realx3Field_D
=
Field<VectorSingle, realx3>
;
63
64
using
realx3Field_H
=
Field<VectorSingle, realx3, HostSpace>
;
65
66
using
uint16x3Field_D
=
Field<VectorSingle, uint16x3>
;
67
68
using
uint16x3Field_H
=
Field<VectorSingle, uint16x3, HostSpace>
;
69
70
using
uint32x3Field_D
=
Field<VectorSingle, uint32x3>
;
71
72
using
uint32x3Field_H
=
Field<VectorSingle, uint32x3, HostSpace>
;
73
74
using
int32x3Field_D
=
Field<VectorSingle, int32x3>
;
75
76
using
int32x3Field_H
=
Field<VectorSingle, int32x3, HostSpace>
;
77
78
using
int64x3Field_D
=
Field<VectorSingle, int64x3>
;
79
80
using
int64x3Field_H
=
Field<VectorSingle, int64x3, HostSpace>
;
81
82
using
realx3x3Field_D
=
Field<VectorSingle, realx3x3>
;
83
84
using
realx3x3Field_H
=
Field<VectorSingle, realx3x3, HostSpace>
;
85
86
// - no typedef on device (since word does not compile on CUDA)
87
using
wordField_H
=
Field<VectorSingle, word, HostSpace>
;
88
89
90
// host device fields
91
using
int8Field_HD
=
Field<VectorDual, int8>
;
92
93
using
int16Field_HD
=
Field<VectorDual, int16>
;
94
95
using
int32Field_HD
=
Field<VectorDual, int32>
;
96
97
using
int64Field_HD
=
Field<VectorDual, int64>
;
98
99
using
uint32Field_HD
=
Field<VectorDual, uint32>
;
100
101
using
labelField_HD
=
Field<VectorDual, label>
;
102
103
using
realField_HD
=
Field<VectorDual, real>
;
104
105
using
realx3Field_HD
=
Field<VectorDual, realx3>
;
106
107
using
uint16x3Field_HD
=
Field<VectorDual, uint32x3>
;
108
109
using
uint32x3Field_HD
=
Field<VectorDual, uint32x3>
;
110
111
using
int32x3Field_HD
=
Field<VectorDual, int32x3>
;
112
113
using
int64x3Field_HD
=
Field<VectorDual, int64x3>
;
114
115
using
realx3x3Field_HD
=
Field<VectorDual, realx3x3>
;
116
117
118
using
wordField
=
Field<Vector, word , vecAllocator<word>
>;
119
120
121
122
}
123
124
125
126
#endif //__Fields_hpp__
types.hpp
pFlow::Field
Definition:
Field.hpp:33
VectorDual.hpp
pFlow
Definition:
demComponent.hpp:28
VectorSingle.hpp
Field.hpp
src
phasicFlow
containers
Field
Fields.hpp
Generated by
1.8.17