pybind: kind map for f2py
At the moment we don't specify kinds to generate the python wrapper for mHM.
F2PY is able to deal with this by mapping kind specifiers to their python/C equivalent: https://numpy.org/doc/stable/f2py/advanced.html#dealing-with-kind-specifiers
Since we have mo_kind
with the iso_c_bindings, we should add a map for our used kinds in a file .f2py_f2cmap
:
dict(
integer=dict(i1='signed_char', i2='short', i4='int', i8='long_long'),
real=dict(sp='float', dp='double', qp='long_double'),
complex=dict(spc='complex_float', dpc='complex_double', qpc='complex_long_double'),
)