to import the Bessel functions before, but it stopped working after I upgraded NGsolve to the newest version.
I got the following warning:
warning: ‘PyObject* pybind11_init()’ is deprecated: PYBIND11_PLUGIN is deprecated, use PYBIND11_MODULE [-Wdeprecated-declarations]
return pybind11_init();
when building the myfunctions.so library.
And got import error when trying to import function from myfunctions.so:
undefined symbol: _ZN5ngfem20ExportUnaryFunction2ERN8pybind116moduleESsSt8functionIFSt10shared_ptrINS_19CoefficientFunctionEES6_EES3_IFddEES3_IFSt7complexIdESC_EE
Hi Guosheng,
maybe you want to try the cpp17 branch there. You need a compiler with c++17 support, but then you can easily export more functions from there (or from boost.math.special_functions, we started a branch for that too).
In this branch we changed the naming of the functions to be like it is in scipy.special