你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-07 15:10:13 +08:00
Corrected class names.
这个提交包含在:
@@ -21,7 +21,7 @@ import numpy as np
|
|||||||
from gprMax.constants import e0, z0, floattype
|
from gprMax.constants import e0, z0, floattype
|
||||||
|
|
||||||
|
|
||||||
class CFSParameter():
|
class CFSParameter:
|
||||||
"""CFS parameter for PML."""
|
"""CFS parameter for PML."""
|
||||||
|
|
||||||
# Allowable scaling profiles and directions
|
# Allowable scaling profiles and directions
|
||||||
@@ -47,7 +47,7 @@ class CFSParameter():
|
|||||||
self.max = max
|
self.max = max
|
||||||
|
|
||||||
|
|
||||||
class CFS():
|
class CFS:
|
||||||
"""CFS term for PML."""
|
"""CFS term for PML."""
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
@@ -138,7 +138,7 @@ class CFS():
|
|||||||
return Evalues, Hvalues
|
return Evalues, Hvalues
|
||||||
|
|
||||||
|
|
||||||
class PML():
|
class PML:
|
||||||
"""PML - the implementation comes from the derivation in: http://dx.doi.org/10.1109/TAP.2011.2180344"""
|
"""PML - the implementation comes from the derivation in: http://dx.doi.org/10.1109/TAP.2011.2180344"""
|
||||||
|
|
||||||
def __init__(self, direction=None, xs=0, ys=0, zs=0, xf=0, yf=0, zf=0, cfs=[]):
|
def __init__(self, direction=None, xs=0, ys=0, zs=0, xf=0, yf=0, zf=0, cfs=[]):
|
||||||
|
在新工单中引用
屏蔽一个用户