Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
GPIAG-Software
IFOS2D
Commits
c33fad22
Commit
c33fad22
authored
May 03, 2016
by
laura.gassner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUGFIX scaling of the acoustic gradient for lambda
parent
57a02ac2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/IFOS2D.c
src/IFOS2D.c
+4
-2
No files found.
src/IFOS2D.c
View file @
c33fad22
...
@@ -2418,11 +2418,13 @@ int main(int argc, char **argv){
...
@@ -2418,11 +2418,13 @@ int main(int argc, char **argv){
muss
=
0
;
muss
=
0
;
lamss
=
prho
[
j
][
i
]
*
ppi
[
j
][
i
]
*
ppi
[
j
][
i
]
-
2
.
0
*
muss
;
lamss
=
prho
[
j
][
i
]
*
ppi
[
j
][
i
]
*
ppi
[
j
][
i
]
-
2
.
0
*
muss
;
waveconv_lam
[
j
][
i
]
=
(
1
.
0
/
(
4
.
0
*
(
lamss
+
muss
)
*
(
lamss
+
muss
)))
*
waveconv_lam
[
j
][
i
];
if
(
!
ACOUSTIC
)
waveconv_lam
[
j
][
i
]
=
(
1
.
0
/
(
4
.
0
*
(
lamss
+
muss
)
*
(
lamss
+
muss
)))
*
waveconv_lam
[
j
][
i
];
else
waveconv_lam
[
j
][
i
]
=
(
1
.
0
/
((
lamss
+
muss
)
*
(
lamss
+
muss
)))
*
waveconv_lam
[
j
][
i
];
/* calculate Vp gradient */
/* calculate Vp gradient */
waveconv_shot
[
j
][
i
]
=
2
.
0
*
ppi
[
j
][
i
]
*
prho
[
j
][
i
]
*
waveconv_lam
[
j
][
i
];
waveconv_shot
[
j
][
i
]
=
2
.
0
*
ppi
[
j
][
i
]
*
prho
[
j
][
i
]
*
waveconv_lam
[
j
][
i
];
// waveconv_shot[j][i] = waveconv_lam[j][i];
}
}
if
(
PARAMETERIZATION
==
2
){
if
(
PARAMETERIZATION
==
2
){
...
...
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