Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NanoComp/meep
/ _collect
Method
_collect
python/simulation.py:982–985 ·
view source on GitHub ↗
(sim)
Source
from the content-addressed store, hash-verified
980
self.t0 = 0
981
982
def
_collect(sim):
983
self.data_dt = sim.meep_time() - self.t0
984
self.t0 = sim.meep_time()
985
self.data.append(sim.get_array(c, vol, center, size))
986
987
return
_collect
988
Callers
nothing calls this directly
Calls
2
meep_time
Method · 0.80
get_array
Method · 0.80
Tested by
no test coverage detected