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

Function ProxyNode2Py

comp/python_comp.cpp:114–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112
113
114py::object ProxyNode2Py (const ProxyNode & node)
115{
116 if (auto proxy = *node)
117 return py::cast(proxy);
118
119 py::list l;
120 for (auto & sub : node.list)
121 l.append (ProxyNode2Py(sub));
122 return py::object(l);
123}
124
125py::object MakeProxyFunction (shared_ptr<FESpace> fes,
126 bool testfunction)

Callers 1

MakeProxyFunctionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected