set dispersive updates

这个提交包含在:
John Hartley
2019-08-23 16:59:55 +01:00
父节点 e31e5184e1
当前提交 910d2752a0

查看文件

@@ -48,14 +48,13 @@ def create_solver(G, sim_config):
else:
updates = CPUUpdates(G)
solver = Solver(updates)
return solver
# a large range of function exist to advance the time step for dispersive
# materials. The correct function is set here based on the
# the required numerical precision and dispersive material type.
props = updates.adapt_dispersive_config(config)
updates.set_dispersive_updates(props)
return solver
class Solver: