![]() | Use Cf2py comments to specify argument type:
Cf2py intent(in,out) step Cf2py intent(in,out) time Cf2py intent(in,out) y Cf2py intent(in) nsteps |
![]() | Run F2PY:
f2py -m oscillator -c --build-dir tmp1 --fcompiler='Gnu' \ ../timeloop2.f \ $scripting/src/app/oscillator/F77/oscillator.f \ only: scan2 timeloop2 : |