This repository contains self contained examples along with the draft NEP
for
Fortran Derived Types. Changes to the text of the draft file:doc/nep_draft.rst should
ideally be accompanied by examples (and instructions to run them).
For details on the NEP process consult the NumPy documentation.
All contributions are welcome.
- Concrete implementations –> Pull Requests
- Thoughts / comments / ideas –> as review comments or issues
- Edge cases / examples –>
examples
folder
For each example, bindings should utilize the FortranObject files (a copy of which are provided within this repository).
Large parts of this NEP involve Fortran-C-CPython binding strategies, but implementations within NumPy will require F2PY changes. This does not make for very intuitive PRs and so the design is discussed here before examples are implemented within F2PY.
Essentially, each decision can be split into:
- Testing / discussing the
C
code - Generating the
C
code with F2PY
This repository is meant to facilitate 1. while PRs to numpy/numpy
must implement both.