[tabulatedcomp] fill arrays on the fly
instead of filling all arrays during initialization, we fill the data arrays when called. This gets rid of the try and catch blocks in the initializing function and allows for static asserts in the components within functions that are not overloaded. The overhead is one more interpolation call during the first call to the property which should be neglectable. For the pressure(t, rho) functions we have to introduce one additional if statement within each call. But, for models using only a small fraction of the properties, this gets rid of the long initialization times.
parent
e4b8b21e
No related branches found
No related tags found
Loading
Please register or sign in to comment