style fixes

This commit is contained in:
Jan Petykiewicz 2019-07-14 23:51:57 -07:00
parent 314e36a3cc
commit fe2f4f4510
3 changed files with 5 additions and 5 deletions

View File

@ -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