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

Method __init__

python/simulation.py:839–844  ·  view source on GitHub ↗

Construct a `DftFields`.

(self, func, args)

Source from the content-addressed store, hash-verified

837 """ """
838
839 def __init__(self, func, args):
840 """Construct a `DftFields`."""
841 super().__init__(func, args)
842 self.nfreqs = len(args[4])
843 self.regions = [FieldsRegion(where=args[1], center=args[2], size=args[3])]
844 self.num_components = len(args[0])
845
846 @property
847 def chunks(self):

Callers

nothing calls this directly

Calls 2

FieldsRegionClass · 0.85
__init__Method · 0.45

Tested by

no test coverage detected