forked from jan/opencl_fdtd
style fixes
This commit is contained in:
parent
314e36a3cc
commit
fe2f4f4510
@ -286,7 +286,7 @@ class Simulation(object):
|
||||
alpha_max = pml['cfs_alpha']
|
||||
|
||||
def par(x):
|
||||
scaling = ((x / (pml['thickness'])) ** pml['m'])
|
||||
scaling = (x / pml['thickness']) ** pml['m']
|
||||
sigma = scaling * sigma_max
|
||||
kappa = 1 + scaling * (kappa_max - 1)
|
||||
alpha = ((1 - x / pml['thickness']) ** pml['ma']) * alpha_max
|
||||
|
Loading…
Reference in New Issue
Block a user