Mustang initialization - regroup calls
In main.F there is 3 calls to MUSTANG initialization subroutines :
-
MUSTANG_initialization
: https://gitlab.inria.fr/croco-ocean/croco/-/blob/master/OCEAN/main.F#L201 -
MUSTANG_init_sediment_main
: https://gitlab.inria.fr/croco-ocean/croco/-/blob/master/OCEAN/main.F#L451 -
MUSTANG_compatibility
: https://gitlab.inria.fr/croco-ocean/croco/-/blob/master/OCEAN/main.F#L817
MUSTANG_init_sediment_main is in module plug_MUSTANG_CROCO while MUSTANG_initialization and MUSTANG_compatibility are in module initMUSTANG.
And there is a call to MUSTANG_compatibility in the call to MUSTANG_init_sediment_main. At least the last call seams useless (this is to check) The goal should be a unique entry point to MUSTANG initialization via MUSTANG_init_sediment_main. This could permit to avoid use of init module in main and group all calls in one.