你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-08 07:24:19 +08:00
Rename variables to use cone instead of cylinder
这个提交包含在:
@@ -61,10 +61,10 @@ class Cone(UserObjectGeometry):
|
||||
# Check averaging
|
||||
try:
|
||||
# Try user-specified averaging
|
||||
averagecylinder = self.kwargs["averaging"]
|
||||
averagecone = self.kwargs["averaging"]
|
||||
except KeyError:
|
||||
# Otherwise go with the grid default
|
||||
averagecylinder = grid.averagevolumeobjects
|
||||
averagecone = grid.averagevolumeobjects
|
||||
|
||||
# Check materials have been specified
|
||||
# Isotropic case
|
||||
@@ -110,7 +110,7 @@ class Cone(UserObjectGeometry):
|
||||
|
||||
# Isotropic case
|
||||
if len(materials) == 1:
|
||||
averaging = materials[0].averagable and averagecylinder
|
||||
averaging = materials[0].averagable and averagecone
|
||||
numID = numIDx = numIDy = numIDz = materials[0].numID
|
||||
|
||||
# Uniaxial anisotropic case
|
||||
|
在新工单中引用
屏蔽一个用户