-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSimParams.h
54 lines (50 loc) · 869 Bytes
/
SimParams.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
class cDataShot
{
public:
int id;
int nUsedRecs;
int nUsedRecLines;
cDataShot()
{
id = -1;
nUsedRecs = 0;
nUsedRecLines = 0;
}
};
typedef struct SimParams{
float dx2;
float dy2;
float dz2;
float dt2;
}SimParams;
typedef struct ThreadData{
char* relFile;
int volumeSize;
int iniShot;
int nShots;
cDataShot *usedShots;
int usedRecsBySource;
int device;
float *h_c;
float xo, xf, yo, yf;
float depth;
SimParams h_params;
int nx, ny, nz, nt;
int nsamp, nrecs;
int idsnap;
int idt;
int cuda;
int *ixsource, *iysource, *izsource;
int *ixrec, *iyrec, *izrec;
int *nRecsByLine;
float *source;
int nSource;
int nLinesR;
float ***c;
int numsnaps;
float dx, dy, dz;
float time1;
int ddamp;
int wdamp;
int id;
}ThreadData;