你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-07 15:10:13 +08:00
Remove initial profile output - needs to be done elsewhere
这个提交包含在:
@@ -45,14 +45,6 @@ class AddSurfaceRoughness(UserObjectGeometry):
|
||||
that the surface roughness should be applied to.
|
||||
seed: (optional) float parameter which controls the seeding of the random
|
||||
number generator used to create the fractals.
|
||||
p3: (optional) list of the lower left 2D coordinates of a surface within
|
||||
FractalSurface class. Used to specify section of fractal surface
|
||||
to print to stdio. Useful for extracting a profile for a
|
||||
source/antenna to follow in another model run.
|
||||
p4: (optional) list of the upper left 2D coordinates of a surface within
|
||||
FractalSurface class. Used to specify section of fractal surface
|
||||
to print to stdio. Useful for extracting a profile for a
|
||||
source/antenna to follow in another model run.
|
||||
"""
|
||||
|
||||
def __init__(self, **kwargs):
|
||||
@@ -90,13 +82,6 @@ class AddSurfaceRoughness(UserObjectGeometry):
|
||||
except KeyError:
|
||||
seed = None
|
||||
|
||||
try:
|
||||
p3 = self.kwargs['p3']
|
||||
p4 = self.kwargs['p4']
|
||||
profile = True
|
||||
except KeyError:
|
||||
profile = False
|
||||
|
||||
if self.do_rotate:
|
||||
self._do_rotate()
|
||||
|
||||
@@ -243,10 +228,4 @@ class AddSurfaceRoughness(UserObjectGeometry):
|
||||
f'{surface.dimension:g}, fractal weightings {surface.weighting[0]:g}, ' +
|
||||
f'{surface.weighting[1]:g}, fractal seeding {surface.seed}, ' +
|
||||
f'and range {limits[0]:g}m to {limits[1]:g}m, added to ' +
|
||||
f'{surface.operatingonID}.')
|
||||
|
||||
profile = True
|
||||
if profile:
|
||||
logger.info(surface.fractalsurface.shape)
|
||||
logger.info(self.grid_name(grid) + f'Fractal surface profile from XX ' +
|
||||
f'to YY = {surface.fractalsurface[74:75, :]}')
|
||||
f'{surface.operatingonID}.')
|
在新工单中引用
屏蔽一个用户