ClimateGlobalChange / tempestremap

TempestRemap: Remapping software for climate applications
Other
43 stars 29 forks source link

Remove usage of dC, which is too large #75

Closed iulian787 closed 3 years ago

iulian787 commented 3 years ago

dC is a matrix of size nCoeff x nCond, very sparse for high number of intersection polygons, (~20k), this matrix dC size is about 200k x 20k, which is unreasonable no need to use blas dgemv for that multiplication, all loops can be unrolled

change can be tested by commenting out

define DO_NOT_USE_DC_MATRIX