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

Method __init__

python/simulation.py:733–738  ·  view source on GitHub ↗

Construct a `DftForce`.

(self, func, args)

Source from the content-addressed store, hash-verified

731 """ """
732
733 def __init__(self, func, args):
734 """Construct a `DftForce`."""
735 super().__init__(func, args)
736 self.nfreqs = len(args[0])
737 self.regions = args[1]
738 self.num_components = 6
739
740 @property
741 def force(self):

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected