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

Function in_point

python/simulation.py:5238–5244  ·  view source on GitHub ↗

Given zero or more step functions, modifies any output functions among them to only output a single *point* of data, at `pt` (a `Vector3`).

(pt, *step_funcs)

Source from the content-addressed store, hash-verified

5236
5237
5238def in_point(pt, *step_funcs):
5239 """
5240 Given zero or more step functions, modifies any output functions among them to only
5241 output a single *point* of data, at `pt` (a `Vector3`).
5242 """
5243 v = Volume(pt)
5244 return in_volume(v, *step_funcs)
5245
5246
5247def to_appended(fname, *step_funcs):

Callers

nothing calls this directly

Calls 2

VolumeClass · 0.85
in_volumeFunction · 0.85

Tested by

no test coverage detected