Skip to content Skip to sidebar Skip to footer
Showing posts with the label Fortran

Discontinuity In Results When Using Scipy.integrate.quad

I've discovered a strange behavior when using scipy.integrate.quad. This behavior also shows up… Read more Discontinuity In Results When Using Scipy.integrate.quad

Using F2py With Openacc Gives Import Error In Python

I am writing a simple test code to see how I could wrap a fortran code containing openacc regions a… Read more Using F2py With Openacc Gives Import Error In Python

Precision Discrepancy Between Fortran And Python (sin Function)

I see a discrepancy between python and Fortran when using the sinus function. Could anyone shed lig… Read more Precision Discrepancy Between Fortran And Python (sin Function)

Setting The Fortran Compiler In F2py

I am trying to run the f2py example to create the compiled extension module¶: # import os # os.envi… Read more Setting The Fortran Compiler In F2py

How To Force Numpy Array Order To Fortran Style?

I am using quite a lot of fortran libraries to do some mathematical computation. So all the arrays … Read more How To Force Numpy Array Order To Fortran Style?

Reading A File With Fortran Formatted Small Floats, Using Numpy

I am trying to read a data file written by a Fortran program, in which every once in a while there … Read more Reading A File With Fortran Formatted Small Floats, Using Numpy