CVMix/CVMix-src

Remove unnecessary allocatable arrays

mnlevy1981 opened this issue · 1 comments

We cleaned up KPP before the beta release, but other modules still have allocatable arrays that should have a declared size...

Did this with one commit per module:

There is still an allocatable matrix in the parameters of cvmix_background, which I think is unavoidable. For cvmix_math, I forced a matrix to be 4x4 even though it only needs to be 3x3 in some instances (and isn't used at all in others): it's a matrix in the interpolation routine, so it's only needed for quadratic (as a 3x3) or cubic (as a 4x4) interpolation.