Tinker9 70bd052 (Thu Nov 9 12:11:35 2023 -0800)
Loading...
Searching...
No Matches
acc/realndef.h
1#pragma once
2
3namespace tinker {
6struct alignas(8) int2
7{
8 int x, y;
9};
10
11struct int3
12{
13 int x, y, z;
14};
15
16struct alignas(16) int4
17{
18 int x, y, z, w;
19};
20
21#pragma acc routine seq
22inline int2 make_int2(int x, int y)
23{
24 int2 f{x, y};
25 return f;
26}
27
28#pragma acc routine seq
29inline int3 make_int3(int x, int y, int z)
30{
31 int3 f{x, y, z};
32 return f;
33}
34
35#pragma acc routine seq
36inline int4 make_int4(int x, int y, int z, int w)
37{
38 int4 f{x, y, z, w};
39 return f;
40}
41
42struct alignas(8) float2
43{
44 float x, y;
45};
46
47struct float3
48{
49 float x, y, z;
50};
51
52struct alignas(16) float4
53{
54 float x, y, z, w;
55};
56
57#pragma acc routine seq
58inline float2 make_float2(float x, float y)
59{
60 float2 f{x, y};
61 return f;
62}
63
64#pragma acc routine seq
65inline float3 make_float3(float x, float y, float z)
66{
67 float3 f{x, y, z};
68 return f;
69}
70
71#pragma acc routine seq
72inline float4 make_float4(float x, float y, float z, float w)
73{
74 float4 f{x, y, z, w};
75 return f;
76}
77
78struct alignas(16) double2
79{
80 double x, y;
81};
82
83struct double3
84{
85 double x, y, z;
86};
87
88struct alignas(16) double4
89{
90 double x, y, z, w;
91};
92
93#pragma acc routine seq
94inline double2 make_double2(double x, double y)
95{
96 double2 f{x, y};
97 return f;
98}
99
100#pragma acc routine seq
101inline double3 make_double3(double x, double y, double z)
102{
103 double3 f{x, y, z};
104 return f;
105}
106
107#pragma acc routine seq
108inline double4 make_double4(double x, double y, double z, double w)
109{
110 double4 f{x, y, z, w};
111 return f;
112}
114}
int y
Definition: acc/realndef.h:18
float z
Definition: acc/realndef.h:54
int z
Definition: acc/realndef.h:18
double x
Definition: acc/realndef.h:85
int x
Definition: acc/realndef.h:18
double w
Definition: acc/realndef.h:90
float w
Definition: acc/realndef.h:54
double y
Definition: acc/realndef.h:80
int z
Definition: acc/realndef.h:13
double y
Definition: acc/realndef.h:90
double z
Definition: acc/realndef.h:85
int w
Definition: acc/realndef.h:18
int y
Definition: acc/realndef.h:8
float x
Definition: acc/realndef.h:49
double x
Definition: acc/realndef.h:80
float x
Definition: acc/realndef.h:54
float y
Definition: acc/realndef.h:54
double y
Definition: acc/realndef.h:85
int x
Definition: acc/realndef.h:8
double x
Definition: acc/realndef.h:90
float x
Definition: acc/realndef.h:44
int y
Definition: acc/realndef.h:13
int x
Definition: acc/realndef.h:13
float y
Definition: acc/realndef.h:49
float z
Definition: acc/realndef.h:49
double z
Definition: acc/realndef.h:90
float y
Definition: acc/realndef.h:44
int2 make_int2(int x, int y)
Definition: acc/realndef.h:22
float4 make_float4(float x, float y, float z, float w)
Definition: acc/realndef.h:72
double3 make_double3(double x, double y, double z)
Definition: acc/realndef.h:101
double4 make_double4(double x, double y, double z, double w)
Definition: acc/realndef.h:108
float3 make_float3(float x, float y, float z)
Definition: acc/realndef.h:65
float2 make_float2(float x, float y)
Definition: acc/realndef.h:58
double2 make_double2(double x, double y)
Definition: acc/realndef.h:94
int4 make_int4(int x, int y, int z, int w)
Definition: acc/realndef.h:36
int3 make_int3(int x, int y, int z)
Definition: acc/realndef.h:29
Definition: acc/realndef.h:79
Definition: acc/realndef.h:84
Definition: acc/realndef.h:89
Definition: acc/realndef.h:43
Definition: acc/realndef.h:48
Definition: acc/realndef.h:53
Definition: acc/realndef.h:7
Definition: acc/realndef.h:12
Definition: acc/realndef.h:17
real * z
Current coordinates used in energy evaluation and neighbor lists.
real * x
Number of the trajectory frames.
real * y
Current coordinates used in energy evaluation and neighbor lists.
Definition: testrt.h:9