In case the selected model is VolumeFrations, then it is not needed to access the lookup-tables (i.e. KERNELS structure) as the response functions are constant (i.e. scalar 1). This PR simply uses a simplified algorithm in this special case, hopefully speeding-up the calculations.
In case the selected model is
VolumeFrations
, then it is not needed to access the lookup-tables (i.e.KERNELS
structure) as the response functions are constant (i.e. scalar 1). This PR simply uses a simplified algorithm in this special case, hopefully speeding-up the calculations.