Updated some printed messages.

这个提交包含在:
Craig Warren
2019-12-11 17:06:07 +00:00
父节点 75905524ec
当前提交 cec6d740b9
共有 3 个文件被更改,包括 5 次插入2 次删除

查看文件

@@ -136,6 +136,10 @@ class ModelBuildRun:
scene = self.build_scene()
# Print info on any subgrids
for grid in G.subgrids:
log.info(grid)
# Combine available grids
grids = [G] + G.subgrids

查看文件

@@ -424,7 +424,7 @@ def print_pml_info(G):
"""
# No PML
if all(value == 0 for value in G.pmlthickness.values()):
return f'\nPML boundaries ({G.name}): switched off'
return f'\nPML boundaries [{G.name}]: switched off'
if all(value == G.pmlthickness['x0'] for value in G.pmlthickness.values()):
pmlinfo = str(G.pmlthickness['x0'])

查看文件

@@ -32,7 +32,6 @@ def create_updates(G):
updaters = []
for sg in G.subgrids:
log.info(sg)
sg_type = type(sg)
if sg_type == SubGridHSG and sg.filter:
precursors = PrecursorNodesFiltered(G, sg)