Work on output directory, snapshots, and geometry view path settings.

这个提交包含在:
Craig Warren
2019-10-23 13:26:27 +01:00
父节点 14a4c342ac
当前提交 471ee916ea
共有 12 个文件被更改,包括 297 次插入309 次删除

查看文件

@@ -31,7 +31,7 @@ def store_outputs(G):
iteration (int): Current iteration number.
Ex, Ey, Ez, Hx, Hy, Hz (memory view): Current electric and magnetic
field values.
G (FDTDGrid): Holds essential parameters describing a model.
G (FDTDGrid): Parameters describing a grid in a model.
"""
iteration = G.iteration
@@ -105,7 +105,7 @@ def write_hdf5_main_grid_outputfile(outputfile, G):
Args:
outputfile (str): Name of the output file.
G (FDTDGrid): Holds essential parameters describing a model.
G (FDTDGrid): Parameters describing a grid in a model.
"""
write_data(outputfile, G)
@@ -116,7 +116,7 @@ def write_hdf5_sub_grid_outputfile(outputfile, G):
Args:
outputfile (str): Name of the output file.
G (FDTDGrid): Holds essential parameters describing a model.
G (FDTDGrid): Parameters describing a grid in a model.
"""
stem = outputfile.stem
@@ -145,7 +145,7 @@ def write_data(outputfile, G):
Args:
outputfile (str): Name of the output file.
G (FDTDGrid): Holds essential parameters describing a model.
G (FDTDGrid): Parameters describing a grid in a model.
"""
f = h5py.File(outputfile, 'w')