你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-08 07:24:19 +08:00
Add line to clear model_configs list.
这个提交包含在:
@@ -78,12 +78,16 @@ class Context:
|
||||
|
||||
class NoMPIContext(Context):
|
||||
"""Standard context - models are run one after another and each model
|
||||
is parallelised using either OpenMP (CPU) or CUDA (GPU).
|
||||
can exploit parallelisation using either OpenMP (CPU) or CUDA (GPU).
|
||||
"""
|
||||
|
||||
def _run(self):
|
||||
"""Specialise how the models are farmed out."""
|
||||
|
||||
# Clear list of model configs. It can be retained with gprMax is
|
||||
# called in a loop, and want to avoid this.
|
||||
config.model_configs = []
|
||||
|
||||
for i in self.model_range:
|
||||
config.model_num = i
|
||||
write_model_config()
|
||||
|
在新工单中引用
屏蔽一个用户