Reduce number of TabProps interpolators base on independent variables
In ParticleRadCoeffs there are two type of 2D table (based independent variables):
- IndepVars = (wavelength, Particle Radius).
- IndepVars =(Particle Radius, Temperature).
In current implementation ParticleRadCoeffs loads six tables, two for table type 1 and four for table type 2,
LagrangeInterpolant2D* interp2AbsSpectralCoeff_;
LagrangeInterpolant2D* interp2ScaSpectralCoeff_;
LagrangeInterpolant2D* interp2AbsPlanckCoeff_;
LagrangeInterpolant2D* interp2ScaPlanckCoeff_;
LagrangeInterpolant2D* interp2AbsRossCoeff_;
LagrangeInterpolant2D* interp2ScaRossCoeff_;
where each table has only one dependent variable. We can increase the number of depended variables and reduce the number of loaded tables to two!
- This should be very helpful to reduce the GPU memory usage