35 CHARACTER(LEN=24),
PARAMETER :: CODE=
'STBTEL ' 37 INTEGER TIME_IN_SECONDS
38 EXTERNAL time_in_seconds
42 INTEGER NSFOND ,NFOND(5)
44 CHARACTER(LEN=11) TYPELE
45 CHARACTER(LEN=80) TITRE
46 CHARACTER(LEN=6) PRECIS
54 CHARACTER(LEN=PATH_LEN) FORTXY(50)
55 CHARACTER(LEN=MAXLENTMPDIR) PATH
92 CALL p_init(path,ncar,ipid,ncsize)
94 fortxy(
ngeo) =
'STBGEO' 95 fortxy(
ncle) =
'STBDICO' 96 fortxy(
ncas) =
'STBCAS' 97 fortxy(
nlim) =
'STBLIM' 98 fortxy(
nres) =
'STBRES' 99 fortxy(
nsou) =
'STBSOU' 100 fortxy(
nimp) =
'STBIMP' 101 fortxy(
nfrc) =
'STBFRC' 102 fortxy(
nfon) =
'STBFON' 103 fortxy(
nfo1) =
'STBFO1' 104 fortxy(
nfo2) =
'STBFO2' 105 fortxy(
ninp) =
'STBINP' 106 fortxy(
nout) =
'STBOUT' 107 fortxy(
nbnd) =
'STBBND' 108 fortxy(
nlog) =
'STBLOG' 109 fortxy(
nobnd) =
'STBOBD' 110 fortxy(
nolog) =
'STBOLG' 111 fortxy(
nbnd2) =
'STBND2' 113 tdeb = time_in_seconds()
117 CALL print_header(code,
' ')
123 OPEN(
ncle , file=fortxy(
ncle) , form=
'FORMATTED' ,action=
'READ')
124 OPEN(
ncas , file=fortxy(
ncas) , form=
'FORMATTED' ,action=
'READ')
141 IF(
maille.EQ.
'SIMAIL')
THEN 142 OPEN(
ngeo,file=fortxy(
ngeo), form=
'UNFORMATTED')
143 ELSE IF(
maille.EQ.
'SELAFIN')
THEN 145 CALL check_call(ierr,
'OPEN_MESH:NGEO')
147 OPEN(
ngeo,file=fortxy(
ngeo), form=
'FORMATTED')
162 IF(
nomres(1:1).NE.
' ')
THEN 164 CALL check_call(ierr,
'OPEN_MESH:NRES')
167 IF(
nomlim(1:1).NE.
' ')
THEN 169 CALL check_call(ierr,
'OPEN_BND:NRES')
174 CALL check_call(ierr,
'OPEN_BND:NGEO')
177 IF(
nomsou(1:1).NE.
' ')
THEN 178 OPEN(
nsou,file=fortxy(
nsou),form=
'FORMATTED',action=
'READWRITE')
181 IF(
nomimp(1:1).NE.
' ')
THEN 182 OPEN(
nimp,file=fortxy(
nimp),form=
'FORMATTED',action=
'READ')
185 IF(
nomfrc(1:1).NE.
' ')
THEN 186 OPEN(
nfrc,file=fortxy(
nfrc),form=
'FORMATTED',action=
'READ')
189 IF(
nomfon(1:1).NE.
' ')
THEN 190 OPEN(
nfon,file=fortxy(
nfon),form=
'FORMATTED',action=
'READ')
193 IF(
nomfo1(1:1).NE.
' ')
THEN 194 OPEN(
nfo1,file=fortxy(
nfo1),form=
'FORMATTED',action=
'READ')
197 IF(
nomfo2(1:1).NE.
' ')
THEN 198 OPEN(
nfo2,file=fortxy(
nfo2),form=
'FORMATTED',action=
'READ')
207 CALL check_call(ierr,
'OPEN_MESH:NFO1')
230 IF (
maille.EQ.
'SELAFIN')
THEN 233 ELSEIF (
maille.EQ.
'TRIGRID')
THEN 235 ELSEIF (
maille.EQ.
'FASTTABS')
THEN 237 ELSEIF (
maille.EQ.
'SIMAIL')
THEN 239 ELSEIF (
maille.EQ.
'ADCIRC')
THEN 256 CALL stbtel(npoin1,typele,nfond,precis,nsfond,titre)
262 IF(
nomlim(1:1).NE.
' ')
then 264 CALL check_call(ierr,
'CLOSE_BND:NRES')
266 IF(
nomres(1:1).NE.
' ')
THEN 268 CALL check_call(ierr,
'CLOSE_MESH:NRES')
273 CALL check_call(ierr,
'CLOSE_BND:NGEO')
275 IF(
maille.EQ.
'SELAFIN')
THEN 277 CALL check_call(ierr,
'CLOSE_MESH:NGEO')
284 CALL check_call(ierr,
'CLOSE_MESH:NFO1')
298 11
FORMAT(1x,///,1x,
'CORRECT END OF RUN',///)
302 666 tfin = time_in_seconds()
303 WRITE(
lu,*)
'COMPUTER TIME: ',tfin-tdeb,
' SECONDS' subroutine read_config(CHAINE, NCAR)
character(len=maxlenfile) nomcas
subroutine close_mesh(FFORMAT, FILE_ID, IERR, MESH_NUMBER)
character(len=maxlenfile) outfile
subroutine p_init(CHAINE, NCAR, IPID, NCSIZE)
subroutine inifas(TYPELE, NGEO)
subroutine inisim(NPOIN1, TYPELE, INOP5, NGEO)
subroutine inistb(NPOIN1, TYPELE, MAILLE, PRECIS, NGEO, NSEC2, NSEC11, NSEC12)
character(len=maxlenfile) boundfile
character(len=maxlenfile) outlogfile
subroutine close_bnd(FFORMAT, FILE_ID, IERR, MESH_NUMBER)
character(len=maxlenfile) infile
character(len=maxlenfile) outbndfile
character(len=maxlenfile) nomgeo
character(len=maxlenfile) nomfor
character(len=8) out_format
subroutine inisel(NPOIN1, TYPELE, STD, NSFOND, FUSION, IHAUT, NGEO, NFO1)
character(len=maxlenfile) nomfrc
character(len=maxlenfile) nomfon
character(len=maxlenfile) nomsou
character(len=maxlenfile) nomres
character(len=maxlenfile) nomimp
subroutine converter(LOC_INPFILE, LOC_BNDFILE, LOC_OUTFILE, LOC_OUTBNDFILE)
subroutine iniadc(NPOIN1, TYPELE, NSFOND, IHAUT, NGEO, TITRE)
character(len=maxlenfile) nomfo1
subroutine initri(NPOIN1, TYPELE, NGEO, NFO1)
character(len=maxlenfile) nombnd2
character(len=maxlenfile) nomlim
subroutine open_mesh(FFORMAT, FILE_NAME, FILE_ID, OPENMODE, IERR, MESH_NUMBER)
character(len=maxlenfile) nomfo2
subroutine open_bnd(FFORMAT, FILE_NAME, FILE_ID, OPENMODE, IERR, MESH_NUMBER)
character(len=maxlenfile) logfile
subroutine stbtel(NPOIN1, TYPELE, NFOND, PRECIS, NSFOND, TITRE)