USER_PROBLEM: Fix a mistake in the absoption layer profile.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
This commit is contained in:
parent
05f46eeb7e
commit
9b7f2f1044
@ -1111,9 +1111,9 @@ module user_problem
|
||||
fc(:) = (abs(yc(:)) - yabs) / adec
|
||||
|
||||
do j = 1, nn
|
||||
if (fc(j) >= 0.0d+00) then
|
||||
if (fc(j) <= 1.0d+00) then
|
||||
fr = fa * sin(5.0d-01 * pi * yc(j))**2
|
||||
if (fc(j) > 0.0d+00) then
|
||||
if (fc(j) < 1.0d+00) then
|
||||
fr = fa * sin(5.0d-01 * pi * fc(j))**2
|
||||
else
|
||||
fr = fa
|
||||
end if
|
||||
|
Loading…
x
Reference in New Issue
Block a user