Dear all,
I am coupling Telemac with a home-made vegetation model. For this coupling, I need to compute a lot of intermediate variables in Telemac, which I then export in the result file and is finally read by my vegetation model.
The number of these intermediate variables is big enough so that I have to increase MAXVAR in declarations_telemac2d.f. I changed the value from 100 to 1000.
Everything works well in Telemac, except that only the first 100 variables in telemac2d seem eligible for export in the output file.
After many tests, I noticed that, even though MAXVAR = 1000 in declarations_telemac2d.f, it is not the case in bief_desimp.f (it is still equal to the initial default value of 100).
Does anyone know why that is? Can that be related to my problem that variables after the 100th cannot be exported?
The issue of MAXVAR = 1000 in declarations_telemac2d.f and MAXVAR = 100 in bief_desimp.f can be reproduced by adding the two modified fortran files into the user fortran folder of the malpasset example.