This is the python wrapper for FOCUS.
You need to install f90wrap and mpi4py.
You can do it via pip
pip install f90wrap mpi4py
Please note before install mpi4py, you might hvae to specify mpicc
first.
More directions are referred to the official website.
To compile, use make all
. Right now, I have only implemented GCC
compiler.
Once compiled, you can test it by make test
.
A simple example can be found in ../examples/rotating_ellipse/test.py.
More documentation will be available in the future.