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

Method _f

python/adjoint/optimization_problem.py:235–237  ·  view source on GitHub ↗
(x=None)

Source from the content-addressed store, hash-verified

233 """
234
235 def _f(x=None):
236 (fq, _) = self.__call__(rho_vector=x, need_gradient=False)
237 return fq
238
239 def _df(x=None):
240 (_, df) = self.__call__(need_value=False)

Callers

nothing calls this directly

Calls 1

__call__Method · 0.95

Tested by

no test coverage detected