MCPcopy Create free account
hub / github.com/NGSolve/ngsolve / curl

Function curl

python/utils.py:61–67  ·  view source on GitHub ↗
(func)

Source from the content-addressed store, hash-verified

59
60
61def curl(func):
62 if getattr(func, "derivname", None) == "curl":
63 return func.Deriv()
64 add = func.Operator("curl")
65 if add:
66 return add
67 raise Exception("cannot form curl")
68
69def div(func):
70 if func.derivname == "div":

Callers 6

ReggeADDMethod · 0.85
test_shapeopt_2dFunction · 0.85
test_code_genFunction · 0.85
cmagnet.pyFile · 0.85
mpi_cmagnet.pyFile · 0.85

Calls 1

OperatorMethod · 0.45

Tested by 3

test_shapeopt_2dFunction · 0.68
test_code_genFunction · 0.68