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

Method __init__

python/simulation.py:812–817  ·  view source on GitHub ↗

Construct a `DftEnergy`.

(self, func, args)

Source from the content-addressed store, hash-verified

810 """ """
811
812 def __init__(self, func, args):
813 """Construct a `DftEnergy`."""
814 super().__init__(func, args)
815 self.nfreqs = len(args[0])
816 self.regions = args[1]
817 self.num_components = 12
818
819 @property
820 def electric(self):

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected