你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-07 04:56:51 +08:00
Updated to new-style classes.
这个提交包含在:
@@ -21,7 +21,7 @@ import numpy as np
|
||||
from gprMax.constants import e0, m0, floattype, complextype
|
||||
|
||||
|
||||
class Material():
|
||||
class Material(object):
|
||||
"""Materials, their properties and update coefficients."""
|
||||
|
||||
# Maximum number of dispersive material poles in a model
|
||||
@@ -144,7 +144,7 @@ class Material():
|
||||
self.srce = 1 / EA
|
||||
|
||||
|
||||
class PeplinskiSoil:
|
||||
class PeplinskiSoil(object):
|
||||
"""Soil objects that are characterised according to a mixing model by Peplinski (http://dx.doi.org/10.1109/36.387598)."""
|
||||
|
||||
def __init__(self, ID, sandfraction, clayfraction, bulkdensity, sandpartdensity, watervolfraction):
|
||||
|
在新工单中引用
屏蔽一个用户