MCPcopy Create free account
hub / github.com/NanoComp/meep / _after_s_and_t

Function _after_s_and_t

python/simulation.py:5094–5098  ·  view source on GitHub ↗
(sim, todo)

Source from the content-addressed store, hash-verified

5092 """
5093
5094 def _after_s_and_t(sim, todo):
5095 time = sim.fields.last_source_time() + t - sim.round_time()
5096 if sim.round_time() >= time:
5097 for func in step_funcs:
5098 _eval_step_func(sim, func, todo)
5099
5100 return _after_s_and_t
5101

Callers

nothing calls this directly

Calls 3

_eval_step_funcFunction · 0.85
last_source_timeMethod · 0.80
round_timeMethod · 0.45

Tested by

no test coverage detected