Optimisation to read TPXO tidal solutions
Summary
When modelling tide using TPXO tidal solutions with TELEMAC-2D or TELEMAC-3D to prescribe tidal boundary conditions or initial solutions, the reading of these solutions (given by keywords BINARY DATABASE 1 FOR TIDE and BINARY DATABASE 2 FOR TIDE) can be long, in particular when size is big (bigger and bigger with finer resolution and more tidal constituents as e.g. TPXO10) and/or the number of cores the user runs computation is bigger.
Why is this feature useful?
Time saving for the initialisation step, in particular the reading of TPXO tidal solutions files, for every user of TPXO tidal solutions when prescribing tidal boundary conditions (and initial solutions).
How to implement it?
Direct Access memory is suggested in OTPS, provided by the OSU (Oregon State University) to prevent from a step to read the whole tidal input files. In particular subroutines rd_mod_value_da, interp_da and BSI_indices