Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GPIAG-Software
IFOS2D
Commits
5ae8a37e
Commit
5ae8a37e
authored
May 11, 2016
by
laura.gassner
Browse files
BUGFIX y-coordinate in SU output should be 0
parent
42299882
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/outseis_glob.c
View file @
5ae8a37e
...
@@ -122,10 +122,9 @@ int nsrc, int ns, int seis_form, int ishot, int sws){
...
@@ -122,10 +122,9 @@ int nsrc, int ns, int seis_form, int ishot, int sws){
tr
.
gwdep
=
0
;
/* water depth at receiver group */
tr
.
gwdep
=
0
;
/* water depth at receiver group */
tr
.
sy
=
(
signed
int
)
iround
(
YS
*
1000
.
0
)
;
/* Y source coordinate */
tr
.
sy
=
0
;
/* Y source coordinate */
tr
.
gy
=
0
;
/* Y group coordinate */
tr
.
gy
=
(
signed
int
)
iround
(
yr
*
1000
.
0
)
;
/* Y group coordinate */
tr
.
counit
=
0
;
/* coordinate units code:
tr
.
counit
=
0
;
/* coordinate units code:
for previous four entries
for previous four entries
...
...
src/outseis_vector.c
View file @
5ae8a37e
...
@@ -123,10 +123,9 @@ int nsrc, int ns, int seis_form, int ishot, int sws){
...
@@ -123,10 +123,9 @@ int nsrc, int ns, int seis_form, int ishot, int sws){
tr
.
gwdep
=
0
;
/* water depth at receiver group */
tr
.
gwdep
=
0
;
/* water depth at receiver group */
tr
.
sy
=
(
signed
int
)
iround
(
YS
*
1000
.
0
)
;
/* Y source coordinate */
tr
.
sy
=
0
;
/* Y source coordinate */
tr
.
gy
=
0
;
/* Y group coordinate */
tr
.
gy
=
(
signed
int
)
iround
(
yr
*
1000
.
0
)
;
/* Y group coordinate */
tr
.
counit
=
0
;
/* coordinate units code:
tr
.
counit
=
0
;
/* coordinate units code:
for previous four entries
for previous four entries
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment