Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NanoComp/meep
/ print_stuff
Function
print_stuff
python/examples/absorber-1d.py:25–27 ·
view source on GitHub ↗
(sim)
Source
from the content-addressed store, hash-verified
23
]
24
25
def
print_stuff(sim):
26
p = sim.get_field_point(mp.Ex, mp.Vector3())
27
print(f
"ex:, {sim.meep_time()}, {p.real}"
)
28
29
sim = mp.Simulation(
30
cell_size=cell_size,
Callers
nothing calls this directly
Calls
2
meep_time
Method · 0.80
get_field_point
Method · 0.45
Tested by
no test coverage detected