Hi,
Recently I started using the latest version of Telemac V8p4r0, and I've been running some tests to understand the changes since previously I was working with V7p2r2.
I have a Fortran file to work with option 3 for wind, variable in time and space, which works fine on the previous version of Telemac. However, since there have been some changes, this routine no longer works.
Since I don't know Fortran, I've been reading the developer manual of Telemac trying to understand what the routine was doing and I was able to notice, using the WRITE statement, that my routine is based on knowing the mesh coordinates (abscissa and ordinate) which do not have in the newest version and this causes the model to just stop running.
However, I don't understand how the previous routine knows the coordinates since it does not call for another function or anything. The only idea I have left is that the mesh coordinates are passed to the function itself when called. Indeed, the V7 subroutine METEO lists as a parameter both X and Y:
&(PATMOS,WINDX,WINDY,FUAIR,FVAIR,X,Y,AT,LT,NPOIN,VENT,ATMOS,
& HN,TRA01,GRAV,ROEAU,NORD,PRIVE,ATMFILEA,ATMFILEB,FILES,LISTIN,
& PATMOS_VALUE,AWATER_QUALITY,PLUIE,AOPTWIND,AWIND_SPD)
whereas the new version of this subroutine does not:
&(PATMOS,WINDX,WINDY,FUAIR,FVAIR,AT,LT,NPOIN,VENT,ATMOS,
& ATMFILEA,ATMFILEB,FILES,LISTIN,
& PATMOS_VALUE,AWATER_QUALITY,PLUIE,AOPTWIND,AWIND_SPD)
So my question is, how can I pass the mesh coordinates to the meteo subroutine?
I think that I need to modify the Fortran file that calls this function, right? Or is there another way to access the mesh coordinates within the METEO subroutine?
Thanks in advance,
Cristian