USER_PROBLEM: Fix the exponential decay in the absoption layer.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
This commit is contained in:
parent
8484f52154
commit
06bfd1684b
@ -1008,7 +1008,7 @@ module user_problem
|
||||
dh(3) = adz(pdata%meta%level)
|
||||
#endif /* NDIMS == 3 */
|
||||
|
||||
fa = exp(- dt / tabs)
|
||||
fa = 1.0d+00 - exp(- dt / tabs)
|
||||
fb = 5.0d-01 * adif * minval(dh(1:NDIMS))**2
|
||||
|
||||
call laplace(dh, pdata%q(ivy,:,:,:), q2)
|
||||
|
Loading…
x
Reference in New Issue
Block a user