More restrictive on max impedance of transmission line, must be less than the impedance of free space, i.e. 376Ohms

这个提交包含在:
Craig Warren
2016-07-14 09:41:20 +01:00
父节点 c61f62a8c2
当前提交 456da769c8

查看文件

@@ -275,7 +275,7 @@ def process_multicmds(multicmds, G):
if xcoord < G.pmlthickness[0] or xcoord > G.nx - G.pmlthickness[3] or ycoord < G.pmlthickness[1] or ycoord > G.ny - G.pmlthickness[4] or zcoord < G.pmlthickness[2] or zcoord > G.nz - G.pmlthickness[5]:
print("WARNING: '" + cmdname + ': ' + ' '.join(tmp) + "'" + ' sources and receivers should not normally be positioned within the PML.\n')
if resistance <= 0 or resistance > z0:
if resistance <= 0 or resistance >= z0:
raise CmdInputError("'" + cmdname + ': ' + ' '.join(tmp) + "'" + ' requires a resistance greater than zero and less than the impedance of free space, i.e. 376.73 Ohms')
# Check if there is a waveformID in the waveforms list