New feature suggested : cpp keys TRANSPORT and TEMPERATURE (like the CPP key SALINITY)
If key TRANSPORT is enabled, the transport equation is calculated for the tracer(s) chosen by the user.
If key TEMPERATURE is activated, the heat transport equation is calculated.
The MIO team uses daily undef TRANSPORT
or undef TEMPERATURE
that allow us to avoid activating the transport or the temperature.
This saves a lot of computing time (about 30% on one of our machines) when the temperature is not necessary.
It is therefore possible to work only with salinity or just dynamics.
The dev_2021_mio_for_MUSTANG branch from dev_2020_MUSTANG will contain this feature. !
- The TEMPERATURE key acts in the same way as the SALINITY key but for the temperature.
- The TRANSPORT key is used to shunt the parts of the code concerning the calculations related to the tracers transport. 3.However, it is necessary to use indices related to speed and not temperature anymore, for example:
- indxT => indxV+ ntrc_temp(def_his, …)
- indxT-1 => indxV
- indxS=indxT+1 => ndxS=indxV+ntrc_temp+1
- indxTPAS=indxT+ntrc_salt+1 => indxTPAS=indxV+ntrc_temp+ntrc_salt+1
- indxAkt+1 => indxAkv+ntrc_temp+1
For the moment, if nothing is specified (e.g. the current test cases) then the TRANSPORT and TEMPERATURE keys are activated.
To be done in a second step: everyone should add in his cppdef.h :
#define TRANSPORT
#define TEMPERATURE