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

Method current

python/meep-python.hpp:21–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19 }
20
21 virtual std::complex<double> current(double time, double dt) const {
22 if (is_integrated)
23 return src_time::current(time, dt);
24 else
25 return dipole(time);
26 }
27 virtual std::complex<double> dipole(double time) const {
28 SWIG_PYTHON_THREAD_SCOPED_BLOCK;
29 float rtime = float(time);

Callers 2

_adj_src_scaleMethod · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected