Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GPIAG-Software
IFOS2D
Commits
d4ee553f
Commit
d4ee553f
authored
Dec 03, 2015
by
Florian Wittkamp
Browse files
Bugfix: Acoustic free surface (merge issue)
parent
744ec46b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/surface_acoustic_PML.c
View file @
d4ee553f
...
...
@@ -36,6 +36,7 @@ void surface_acoustic_PML(int ndepth, float ** sp){
j
=
ndepth
;
/* The free surface is located exactly in y=1/2*dh !! */
for
(
i
=
1
;
i
<=
NX
;
i
++
){
sp
[
j
][
i
]
=
0
;
for
(
m
=
1
;
m
<=
fdoh
;
m
++
)
{
sp
[
j
-
m
][
i
]
=
-
sp
[
j
+
m
][
i
];
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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