你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-06 04:26:52 +08:00
Update input_cmd_funcs.py
这个提交包含在:
@@ -695,3 +695,20 @@ def rx_steps(dx=0, dy=0, dz=0):
|
||||
c = Coordinate(dx, dy, dz)
|
||||
command('rx_steps', str(c))
|
||||
return c
|
||||
|
||||
def geometry_objects_read(x, y, z, file1, file2):
|
||||
"""Prints the #geometry_objects_read command.
|
||||
|
||||
Args:
|
||||
x y z are the lower left (x,y,z) coordinates in the domain where the lower left corner of the geometry array should be placed.
|
||||
file1 is the path to and filename of the HDF5 file that contains an integer array which defines the geometry.
|
||||
file2 is the path to and filename of the text file that contains #material commands.
|
||||
not used: c1 is an optional parameter which can be y or n, used to switch on and off dielectric smoothing. Dielectric smoothing can only be turned on if the geometry objects that are being read were originally generated by gprMax, i.e. via the #geometry_objects_write command.
|
||||
|
||||
Returns:
|
||||
coordinates (tuple): namedtuple Coordinate in the domain where the lower left corner of the geometry array is placed.
|
||||
"""
|
||||
|
||||
c = Coordinate(x, y, z)
|
||||
command('geometry_objects_read', str(c), file1, file2)
|
||||
return c
|
||||
|
在新工单中引用
屏蔽一个用户