4 OASIS3-MCT python API

The source code of pyOASIS is in the directory pyoasis/src. Complete documentation is available in pyoasis/pyoasis.pdf. The pyoasis interface ultimately call the Fortran version. This is done by wrapping the Fortran in ISO-C bindings (see lib/cbindings/fortran_isoc), then wrapping the Fortran ISO-C bindings in C (see lib/cbindings/c), then wrapping the C bindings in python (see pyoasis/src). This method provides both the C and python bindings. Examples on how to use pyOASIS are provided in pyoasis/examples. To run all tests including python, C, and Fortran examples, use make test. The python wrapper functions are briefly described next.



Subsections