你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-07 23:14:03 +08:00
set dispersive updates
这个提交包含在:
@@ -48,14 +48,13 @@ def create_solver(G, sim_config):
|
|||||||
else:
|
else:
|
||||||
updates = CPUUpdates(G)
|
updates = CPUUpdates(G)
|
||||||
solver = Solver(updates)
|
solver = Solver(updates)
|
||||||
|
|
||||||
return solver
|
|
||||||
|
|
||||||
# a large range of function exist to advance the time step for dispersive
|
# a large range of function exist to advance the time step for dispersive
|
||||||
# materials. The correct function is set here based on the
|
# materials. The correct function is set here based on the
|
||||||
# the required numerical precision and dispersive material type.
|
# the required numerical precision and dispersive material type.
|
||||||
props = updates.adapt_dispersive_config(config)
|
props = updates.adapt_dispersive_config(config)
|
||||||
updates.set_dispersive_updates(props)
|
updates.set_dispersive_updates(props)
|
||||||
|
return solver
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class Solver:
|
class Solver:
|
||||||
|
在新工单中引用
屏蔽一个用户