Closed pressel closed 9 years ago
I fixed the bug by changing the name of the function that computes the diffusive momentum fluxes so that it is different from the function that computes the diffusive scalar fluxes. This seems to be some strange issue with the clang compiler, as the code worked perfectly with the GNU compilers. Perhaps there is a compiler flag that would make the code work for clang as well, but changing the function names makes sense anyway.
The only change in the code was changing:
compute_diffusive_flux -> compute_scalar_flux_m in momentum_diffusion.h and MomentumDiffusion.pyx
We are currently dealing with a bug that is causing PyCLES to crash when using the clang compiler on MacOSX. We know when the bug was introduced, and are working to fix it ASAP.