Okada implementation in Python
This is a python implementation of the solution proposed by Okada in 1992. Please cite:
Okada, Y. (1992), Internal deformation due to shear and tensile faults in a half-space, Bulletin of the Seismological Society of America, 82(2), 1018โ1040.
export CC=gcc
python setup.py build
Link in a user module directory (on MacOS it is usually in ~/Library/Python/3.7/lib/python/site-packages/):
python setup.py install --user
On some OS, it is sometimes better to run :
python setup.py install --user --prefix=