你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-07 15:10:13 +08:00
Corrected call for dispersive materials Cython building.
这个提交包含在:
6
setup.py
6
setup.py
@@ -99,6 +99,9 @@ def build_dispersive_material_templates():
|
||||
with open('gprMax/cython/fields_updates_dispersive.pyx', 'w') as f:
|
||||
f.write(r)
|
||||
|
||||
# Generate Cython file for dispersive materials update functions
|
||||
build_dispersive_material_templates()
|
||||
|
||||
# Importing _version__.py before building can cause issues.
|
||||
with open('gprMax/_version.py', 'r') as fd:
|
||||
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
|
||||
@@ -196,9 +199,6 @@ elif sys.platform == 'linux':
|
||||
linker_args = ['-fopenmp']
|
||||
extra_objects = []
|
||||
|
||||
# generate cython file for dispersive update
|
||||
build_dispersive_material_templates()
|
||||
|
||||
# Build a list of all the extensions
|
||||
extensions = []
|
||||
for file in cythonfiles:
|
||||
|
在新工单中引用
屏蔽一个用户