removeArraySyntax addes new loop-index variables (J1,J2..) multiple times causing compilation error. The commit fixes the consequence by a workaround of multiple occurence of new variable in varList with the attribute new (but not the cause).
Problem reproduction : pyft_tool.py mode_turb_hor_splt.F90 --expandAllArraysConcurrent
removeArraySyntax addes new loop-index variables (J1,J2..) multiple times causing compilation error. The commit fixes the consequence by a workaround of multiple occurence of new variable in varList with the attribute new (but not the cause).
Problem reproduction : pyft_tool.py mode_turb_hor_splt.F90 --expandAllArraysConcurrent
The version of the file used is the one ported for mesonh GPU: http://mesonh.aero.obs-mip.fr/gitweb/?p=MNH-git_open_source-lfs.git;a=blob;f=src/PHYEX/turb/mode_turb_hor_splt.f90;h=679196288b12d2e5ee4e5c38511e7c46991680f6;hb=781de77fdcf2ee59256fc6afd2669e2abbda880e