finiterectlat-modes.py fix filename pattern

This commit is contained in:
Marek Nečada 2020-08-03 17:58:50 +03:00
parent 1a4b279eff
commit 031397aacd
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ particlestr = ("sph" if a.height is None else "cyl") + ("_r%gnm" % (a.radius*1e9
if a.height is not None: particlestr += "_h%gnm" % (a.height * 1e9) if a.height is not None: particlestr += "_h%gnm" % (a.height * 1e9)
defaultprefix = "%s_p%gnmx%gnm_%dx%d_m%s_B%s_L%d_c(%s±%g±%gj)eV_cn%d_%s" % ( defaultprefix = "%s_p%gnmx%gnm_%dx%d_m%s_B%s_L%d_c(%s±%g±%gj)eV_cn%d_%s" % (
particlestr, px*1e9, py*1e9, Nx, Ny, str(a.material), str(a.background), a.lMax, particlestr, px*1e9, py*1e9, Nx, Ny, str(a.material), str(a.background), a.lMax,
str(a.centre), a.ai, a.ar, a.N, str(a.centre), a.ar, a.ai, a.N,
thegroup, thegroup,
) )
logging.info("Default file prefix: %s" % defaultprefix) logging.info("Default file prefix: %s" % defaultprefix)