Hello,
I want to define a new keyword in Telemac-2d to read x, y, usce and vsce values of source points.
I have defined a STRING type keyword called "LOCATION AND DIRECTION OF SOURCES".
First, I added the definition in telemac2d.dico, give the INDEX number and MNEMO:
,,,
NOM = 'LOCATION AND DIRECTION OF SOURCES'
NOM1 = 'LOCATION AND DIRECTION OF SOURCES'
TYPE = STRING
INDEX = 120
TAILLE = 1
SUBMIT = 'T2DVEFLD-READ;T2DVEFLD'
DEFAUT = ''
DEFAUT1 = ''
MNEMO = 'T2D\_FILES(T2DVEFLD)%NAME'
RUBRIQUE =
'SOURCES'
RUBRIQUE1 =
'SOURCES'
NIVEAU = 1
AIDE =
'Name of the file containing
information on location and direction of sources'
AIDE1 =
'Name of the file containing
information on location and direction of sources'
,,,
Then, I declared T2DVEFLD in declarations_telemac2d.f like: (integer because the T2DVEF which is for SOURCES FILE is also defined as integer)
,,,
INTEGER T2DVEFLD
,,,
Then, I add a line in lecdon_telemac2d.f to get the value for the keyword:
,,,
T2D_FILES(T2DVEFLD)%NAME=MOTCAR( ADRESS(4,120) )
,,,
however it gives the following error:
... hmm, this is embarrassing. I do not know what to do with LOCATION AND DIRECTION OF SOURCES
I wonder if you can help me with this problem.
Thank you so much