-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathswmod1.ftn
3056 lines (3046 loc) · 120 KB
/
swmod1.ftn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
! COMMON VARIABLES RELATED MODULES, file 1 of 3
!
! Contents of this file
!
! OCPCOMM1 contains common variables for Ocean Pack
! OCPCOMM2 contains common variables for Ocean Pack
! OCPCOMM3 contains common variables for Ocean Pack
! OCPCOMM4 contains common variables for Ocean Pack
! SWCOMM1 contains common variables for SWAN
! SWCOMM2 contains common variables for SWAN
! SWCOMM3 contains common variables for SWAN
! SWCOMM4 contains common variables for SWAN
! TIMECOMM contains common variables for SWAN
!
MODULE OCPCOMM1
!
!
! --|-----------------------------------------------------------|--
! | Delft University of Technology |
! | Faculty of Civil Engineering and Geosciences |
! | Environmental Fluid Mechanics Section |
! | P.O. Box 5048, 2600 GA Delft, The Netherlands |
! | |
! | Programmers: The SWAN team |
! --|-----------------------------------------------------------|--
!
!
! SWAN (Simulating WAves Nearshore); a third generation wave model
! Copyright (C) 1993-2024 Delft University of Technology
!
! This program is free software: you can redistribute it and/or modify
! it under the terms of the GNU General Public License as published by
! the Free Software Foundation, either version 3 of the License, or
! (at your option) any later version.
!
! This program is distributed in the hope that it will be useful,
! but WITHOUT ANY WARRANTY; without even the implied warranty of
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! GNU General Public License for more details.
!
! You should have received a copy of the GNU General Public License
! along with this program. If not, see <http://www.gnu.org/licenses/>.
!
!
! 0. Authors
!
! 40.41: Marcel Zijlema
!
! 1. Updates
!
! 40.41, Oct. 04: taken from the include file OCPCOMM1.INC
!
! 2. Purpose
!
! Common variables used by the Ocean Pack Service Routines and in SWAN
!
! 3. Method
!
! MODULE construct
!
! 4. Modules used
!
! ---
!
IMPLICIT NONE
!
! 5. Argument variables
!
! ---
!
! 6. Parameter variables
!
! LINELN [ 180] max length of input lines (in command file)
!
INTEGER LINELN
PARAMETER (LINELN=180)
!
! 7. Local variables
!
! *** character data used by the command reading system ***
!
! BLANK [' '] blank string
! COMID [ '$'] character which distinguishes comments in the command input
! ELTEXT [ ] contents of the last string read by reading system
! ELTYPE [ ] type of the element last read by reading system
! ='CHAR'; last read data element is the string in ELTEXT
! ='EMPT; empty data field
! ='EOF'; end of file has been reached
! ='EOR'; end of repeat has been reached
! ='ERR'; incorrect data field was encountered
! ='INT'; last read data element is the integer in ELINT
! ='KEY'; last read data element is the keyword in KEYWRD
! ='OTHR'; other
! ='REAL'; last read data element is the real in ELREAL
! ='USED'; last read data element is processed, new can be read
! KAART [ ] contents of the input line last read by reading system
! KAR [ ] character last read by reading system
! =COMID; begin or end of comment
! =TABC; data element separation mark
! =' '; data element separation mark
! ='&'; continuation mark
! ='('; begin of data group
! ='*'; repetition mark
! =','; data element seperation mark (only for numbers)
! ='/'; end of repetition mark
! =':'; assignment mark
! =';'; end of record or input line
! ='='; assignment mark
! ='@'; end of file mark
! ='_'; continuation mark
! other: letter or digit to be processed by reading system
! KEYWRD [ ] contents of the last keyword read by reading system
! TABC [CALCUL] =CHAR(9); tabular character
!
CHARACTER*4 BLANK
CHARACTER COMID
CHARACTER*(LINELN) ELTEXT
CHARACTER*4 ELTYPE
CHARACTER*(LINELN) KAART
CHARACTER KAR
CHARACTER*8 KEYWRD
CHARACTER TABC
!
! *** numerical data used by the command reading system ***
!
! CHGVAL [ ] whether last read value is different from a given value for
! subroutines INREAL, ININTG, INCSTR, INCTIM
! ELINT [ ] last element read from user command, when integer
! KARNR [ ] position on the input line of character last processed
! by the reading system,
! =0; no characters read yet
! =81; next input line has to be read to the common KAART first
! LENCST [ ] length of the string stored in ELTEXT
! ELREAL [ ] last element read from user command, when real or double
!
INTEGER ELINT, KARNR, LENCST
DOUBLE PRECISION ELREAL
LOGICAL CHGVAL
!
! *** origin for day and time ***
!
! REFDAY [ ] Day number of the reference day. The first day entered is used
! as reference day, the reference time is 0:00 of the reference day.
!
INTEGER REFDAY
!
! 8. Subroutines and functions used
!
! ---
!
! 9. Subroutines and functions calling
!
! ---
!
! 10. Error messages
!
! ---
!
! 11. Remarks
!
! ---
!
! 12. Structure
!
! ---
!
! 13. Source text
!
END MODULE OCPCOMM1
MODULE OCPCOMM2
!
!
! --|-----------------------------------------------------------|--
! | Delft University of Technology |
! | Faculty of Civil Engineering and Geosciences |
! | Environmental Fluid Mechanics Section |
! | P.O. Box 5048, 2600 GA Delft, The Netherlands |
! | |
! | Programmers: The SWAN team |
! --|-----------------------------------------------------------|--
!
!
! SWAN (Simulating WAves Nearshore); a third generation wave model
! Copyright (C) 1993-2024 Delft University of Technology
!
! This program is free software: you can redistribute it and/or modify
! it under the terms of the GNU General Public License as published by
! the Free Software Foundation, either version 3 of the License, or
! (at your option) any later version.
!
! This program is distributed in the hope that it will be useful,
! but WITHOUT ANY WARRANTY; without even the implied warranty of
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! GNU General Public License for more details.
!
! You should have received a copy of the GNU General Public License
! along with this program. If not, see <http://www.gnu.org/licenses/>.
!
!
! 0. Authors
!
! 40.41: Marcel Zijlema
!
! 1. Updates
!
! 40.41, Oct. 04: taken from the include file OCPCOMM2.INC
!
! 2. Purpose
!
! Common variables used by the Ocean Pack Service Routines and in SWAN
!
! 3. Method
!
! MODULE construct
!
! 4. Modules used
!
! ---
!
IMPLICIT NONE
!
! 5. Argument variables
!
! ---
!
! 6. Parameter variables
!
! LENFNM [ 140] length of file names (including path)
!
INTEGER LENFNM
PARAMETER (LENFNM=140)
!
! 7. Local variables
!
! *** names and other character strings ***
!
! DIRCH1 [\ ] directory separation character as appears in input file
! DIRCH2 [\ ] directory separation character replacing DIRCH1
! FILEA [ ] not used
! FILEB [ ] not used
! FILENM [ ] file name of the file currently used for I/O
! INST ['Delft University of Technology'] name of the institute
! Can be changed in the file SWANINIT
! PROJID ['SWAN'] acronym of the project for which the computation is taking place
! ='NAME'; set by command PROJ 'NAME' ...
! PROJNR [CALCUL] =BLANK; run number for the computation
! ='NR'; set by command PROJ ... 'NR' ...
! PROJT1 [CALCUL] =BLANK; 1st line of the project title
! ='title1'; set by command PROJ ... 'title1' ...
! PROJT2 [CALCUL] =BLANK; 2nd line of the project title
! ='title2'; set by command PROJ ... 'title2' ...
! PROJT3 [CALCUL] =BLANK; 3rd line of the project title
! ='title3'; set by command PROJ ... 'title3'
! PTITLE [ ] not used
! VERTXT [calcul] program version, character representation
!
CHARACTER (LEN=1) :: DIRCH1, DIRCH2
CHARACTER (LEN=LENFNM) :: FILEA , FILEB , FILENM
CHARACTER (LEN=40) :: INST
CHARACTER (LEN=16) :: PROJID
CHARACTER (LEN=4) :: PROJNR
CHARACTER (LEN=72) :: PROJT1, PROJT2, PROJT3
CHARACTER (LEN=36) :: PTITLE
CHARACTER (LEN=20) :: VERTXT
!
! 8. Subroutines and functions used
!
! ---
!
! 9. Subroutines and functions calling
!
! ---
!
! 10. Error messages
!
! ---
!
! 11. Remarks
!
! ---
!
! 12. Structure
!
! ---
!
! 13. Source text
!
END MODULE OCPCOMM2
MODULE OCPCOMM3
!
!
! --|-----------------------------------------------------------|--
! | Delft University of Technology |
! | Faculty of Civil Engineering and Geosciences |
! | Environmental Fluid Mechanics Section |
! | P.O. Box 5048, 2600 GA Delft, The Netherlands |
! | |
! | Programmers: The SWAN team |
! --|-----------------------------------------------------------|--
!
!
! SWAN (Simulating WAves Nearshore); a third generation wave model
! Copyright (C) 1993-2024 Delft University of Technology
!
! This program is free software: you can redistribute it and/or modify
! it under the terms of the GNU General Public License as published by
! the Free Software Foundation, either version 3 of the License, or
! (at your option) any later version.
!
! This program is distributed in the hope that it will be useful,
! but WITHOUT ANY WARRANTY; without even the implied warranty of
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! GNU General Public License for more details.
!
! You should have received a copy of the GNU General Public License
! along with this program. If not, see <http://www.gnu.org/licenses/>.
!
!
! 0. Authors
!
! 40.41: Marcel Zijlema
!
! 1. Updates
!
! 40.41, Oct. 04: taken from the include file OCPCOMM3.INC
!
! 2. Purpose
!
! Common variables used by the Ocean Pack Service Routines and in SWAN
!
! 3. Method
!
! MODULE construct
!
! 4. Modules used
!
! ---
!
IMPLICIT NONE
!
! 5. Argument variables
!
! ---
!
! 6. Parameter variables
!
! ---
!
! 7. Local variables
!
! *** data for output, mainly plotting ***
!
! DXQ [ ] mesh size of the output frame in X-direction
! =0.01; if MXQ=1
! =XQLEN/(MXQ-1); if MXQ>1
! DYQ [ ] mesh size of the output frame in Y-direction
! =0.01; if MYQ=1
! =YQLEN/(MYQ-1); if MYQ>1
! MXQ [CALCUL] number of grid points of the output frame in X-direction
! MYQ [CALCUL] number of grid points of the output frame in Y-direction
! VERNUM [ 40.41] version number of SWAN
!
INTEGER MXQ, MYQ
REAL DXQ, DYQ, VERNUM
!
! 8. Subroutines and functions used
!
! ---
!
! 9. Subroutines and functions calling
!
! ---
!
! 10. Error messages
!
! ---
!
! 11. Remarks
!
! ---
!
! 12. Structure
!
! ---
!
! 13. Source text
!
END MODULE OCPCOMM3
MODULE OCPCOMM4
!
!
! --|-----------------------------------------------------------|--
! | Delft University of Technology |
! | Faculty of Civil Engineering and Geosciences |
! | Environmental Fluid Mechanics Section |
! | P.O. Box 5048, 2600 GA Delft, The Netherlands |
! | |
! | Programmers: The SWAN team |
! --|-----------------------------------------------------------|--
!
!
! SWAN (Simulating WAves Nearshore); a third generation wave model
! Copyright (C) 1993-2024 Delft University of Technology
!
! This program is free software: you can redistribute it and/or modify
! it under the terms of the GNU General Public License as published by
! the Free Software Foundation, either version 3 of the License, or
! (at your option) any later version.
!
! This program is distributed in the hope that it will be useful,
! but WITHOUT ANY WARRANTY; without even the implied warranty of
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! GNU General Public License for more details.
!
! You should have received a copy of the GNU General Public License
! along with this program. If not, see <http://www.gnu.org/licenses/>.
!
!
! 0. Authors
!
! 40.41: Marcel Zijlema
!
! 1. Updates
!
! 40.41, Oct. 04: taken from the include file OCPCOMM4.INC
!
! 2. Purpose
!
! Common variables used by the Ocean Pack Service Routines and in SWAN
!
! 3. Method
!
! MODULE construct
!
! 4. Modules used
!
! ---
!
IMPLICIT NONE
!
! 5. Argument variables
!
! ---
!
! 6. Parameter variables
!
! INAN [ 1] integer representing not a number
! RNAN [ 1] real representing not a number
!
INTEGER INAN
REAL RNAN
PARAMETER (INAN=-1073750760,
& RNAN=-1.07374515E+09)
!
! 7. Local variables
!
! *** file unit reference numbers ***
!
! EXPORT [ ] not used
! FUNHI [ CAL] highest free unit number
! =IUNMAX
! FUNLO [ 21] lowest free unit number
! HIOPEN [ ] highest unit number of an open file
! IMPORT [ ] not used
! INPUTF [ 3] unit number for the file with command input ('INPUT')
! set by file SWANINIT
! ITMOPT [ 1] time coding option
! =1; ????
! =3; ????
! set by file SWANINIT
! IUNMIN [ 0] minimum unit number
! IUNMAX [99999] maximum unit number
! set by file SWANINIT
! PRINTF [ 4] unit number for the file with standard output ('PRINT')
! set by file SWANINIT
! PRTEST [ CAL] unit number for the print file containing test output
! =PRINTF
! set by file SWANINIT
! SCREEN [ 6] unit number for the screen
! (is for batch-oriented systems equal to PRINTF)
!
INTEGER EXPORT, FUNHI , FUNLO , HIOPEN
INTEGER IMPORT, INPUTF, ITMOPT, IUNMAX
INTEGER IUNMIN, PRINTF, PRTEST, SCREEN
! *** test parameters ***
!
! ITEST [ 0] indicates the amount of test output requested
! =30; for command TEST
! =itest; set by command TEST [itest] [itrace]
! ITRACE [ 0] a message is printed up to ITRACE times
! =itrace; set by command TEST [itest] [itrace]
! LEVERR [ 0] severity of the errors encountered.
! LTRACE [.F.] indicates whether to call STRACE
! =.T.; when ITRACE>0
! MAXERR [ 1] maximum severity of errors allowed, if larger no computation
! =1; warnings
! =2; errors
! =3; severe errors
! =4; terminating errors
! =maxerr; set by command SET ... [maxerr] ...
!
INTEGER ITEST, ITRACE, LEVERR, MAXERR
LOGICAL LTRACE
!
! 8. Subroutines and functions used
!
! ---
!
! 9. Subroutines and functions calling
!
! ---
!
! 10. Error messages
!
! ---
!
! 11. Remarks
!
! ---
!
! 12. Structure
!
! ---
!
! 13. Source text
!
END MODULE OCPCOMM4
MODULE SWCOMM1
!
!
! --|-----------------------------------------------------------|--
! | Delft University of Technology |
! | Faculty of Civil Engineering and Geosciences |
! | Environmental Fluid Mechanics Section |
! | P.O. Box 5048, 2600 GA Delft, The Netherlands |
! | |
! | Programmers: The SWAN team |
! --|-----------------------------------------------------------|--
!
!
! SWAN (Simulating WAves Nearshore); a third generation wave model
! Copyright (C) 1993-2024 Delft University of Technology
!
! This program is free software: you can redistribute it and/or modify
! it under the terms of the GNU General Public License as published by
! the Free Software Foundation, either version 3 of the License, or
! (at your option) any later version.
!
! This program is distributed in the hope that it will be useful,
! but WITHOUT ANY WARRANTY; without even the implied warranty of
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! GNU General Public License for more details.
!
! You should have received a copy of the GNU General Public License
! along with this program. If not, see <http://www.gnu.org/licenses/>.
!
!
! 0. Authors
!
! 40.41: Marcel Zijlema
! 40.51: Marcel Zijlema
! 40.61: Marcel Zijlema
! 40.64: Marcel Zijlema
! 41.12: Nico Booij
!
! 1. Updates
!
! 40.41, Oct. 04: taken from the include file SWCOMM1.INC
! 40.21, Apr. 04: NMOVAR increased by 1
! (reserved for diffraction)
! 40.35, Jun. 04: NMOVAR increased by 2 (quantities DISTUR
! and TURB added)
! 40.41, Sep. 04: NMOVAR increased by 2 (quantities TMM10
! and RTMM10 added)
! 40.51, Feb. 05: NMOVAR increased by 1 (quantity TMBOT added)
! 40.51, Sep. 05: NMOVAR increased by 2 (quantities WATLEV
! and BOTLEV added)
! 40.51, Feb. 06: NMOVAR increased by 1 (quantity TPS added)
! 40.61, Sep. 06: NMOVAR increased by 3 (quantities DISBOT,
! DISSRF and DISWCP added)
! 40.61, Sep. 06: NMOVAR increased by 1 (quantity DISMUD added)
! 40.61, Sep. 06: NMOVAR increased by 1 (quantity DISVEG added)
! 40.64, Apr. 07: NMOVAR increased by 2 (quantities QP and BFI added)
! 40.85, Aug. 08: NMOVAR increased by 10 (quantities GENE, GENW, REDI, REDQ, REDT,
! PROPA, PROPX, PROPT, PROPS and RADS added)
! 41.12, Apr. 10: NMOVAR increased by 1 (quantity NPL added)
! 41.15, Mar. 11: NMOVAR increased by 1 (quantity LWAVP added)
! 41.72, Nov. 19: MOUTPA increased by 1 (quantity NOSWLL)
!
! 2. Purpose
!
! Common variables used by the subroutines in SWAN
!
! 3. Method
!
! MODULE construct
!
! 4. Modules used
!
! ---
!
IMPLICIT NONE
!
! 5. Argument variables
!
! ---
!
! 6. Parameter variables
!
! NMOVAR [ 171] maximum number of output variables 41.62 40.85 40.64 40.61 40.51 40.21 40.41
! MOUTPA [ 51] number of output parameters 41.72 40.87
!
INTEGER NMOVAR, MOUTPA
PARAMETER (NMOVAR = 171, MOUTPA=51) 41.72 41.62 40.35 41.15 40.85 40.87 40.64 40.61 40.51 40.21 40.41
!
! 7. Local variables
!
! *** names and other character data ***
!
! CHTIME [ ' '] character string representation of date-time of computation
! FNEST [CALCULAT] BCF (=BLANK), name of nest file
! OVKEYW(NMOVAR) keyword identifying output quantity in a SWAN command
! ( 1) [ 'XP']
! ( 2) [ 'YP']
! ( 3) [ 'DIST']
! ( 4) [ 'DEP']
! ( 5) [ 'VEL']
! ( 6) [ 'UBOT']
! ( 7) [ 'DISS']
! ( 8) [ 'QB']
! ( 9) [ 'LEA']
! (10) [ 'HS']
! (11) [ 'TM01']
! (12) [ 'RTP']
! (13) [ 'DIR']
! (14) [ 'PDI']
! (15) [ 'TDI']
! (16) [ 'DSPR']
! (17) [ 'WLEN']
! (18) [ 'STEE']
! (19) [ 'TRA']
! (20) [ 'FOR']
! (21) [' ']
! (22) [' ']
! (23) [' ']
! (24) [ 'XC']
! (25) [ 'YC']
! (26) [ 'WIND']
! (27) [ 'FRC']
! (28) [ 'RTM01']
! (29) [' ']
! (30) [ 'DHS']
! (31) ['DRTM01']
! (32) [ 'TM02']
! (33) [ 'FSPR']
! (34) [ 'URMS']
! (35) [ 'UFRI']
! (36) [ 'ZLEN']
! (37) [ 'TAUW']
! (38) [ 'CDRAG']
! (39) [ 'SETUP']
! (40) [ 'TIME']
! (41) [ 'TSEC']
! (47) [ 'TMM10']
! (48) ['RTMM10']
! (49) ['DIFPAR')
! (50) [ 'TMBOT']
! (51) [ 'WATL']
! (52) [ 'BOTL']
! (53) [ 'TPS']
! (54) [ 'DISB']
! (55) [ 'DISSU']
! (56) [ 'DISW']
! (57) [ 'DISV']
! (58) [ 'QP']
! (59) [ 'BFI']
! (60) [ 'GENE']
! (61) [ 'GENW']
! (62) [ 'REDI']
! (63) [ 'REDQ']
! (64) [ 'REDT']
! (65) [ 'PROPA']
! (66) [ 'PROPX']
! (67) [ 'PROPT']
! (68) [ 'PROPS']
! (69) [ 'RADS']
! (70) [ 'NPL']
! (71) [ 'LWAVP']
! (72) [ 'DISTU']
! (73) [ 'TURB']
! (74) [ 'DISM']
! (75) [ 'DISSL']
! (76) ['DISICE']
! (77) [ 'AICE']
! (78) [ 'HICE']
! (79) [ 'REDB']
! (80) [ 'REDC']
! OVSNAM(NMOVAR) short name of output quantity
! ( 1) [ 'Xp']
! ( 2) [ 'Yp']
! ( 3) [ 'Dist']
! ( 4) [ 'Depth']
! ( 5) [ 'Vel']
! ( 6) [ 'Ubot']
! ( 7) ['Dissip']
! ( 8) [ 'Qb']
! ( 9) [ 'Leak']
! (10) [ 'Hs']
! (11) [ 'Tm01']
! (12) [ 'Tpeak']
! (13) [ 'Dir']
! (14) [ 'PkDir']
! (15) [ 'TDir']
! (16) [ 'Dspr']
! (17) [ 'Wlen']
! (18) ['Steepn']
! (19) ['Transp']
! (20) ['WForce']
! (21) ['AcDens']
! (22) ['EnDens']
! (23) [ 'Aux']
! (24) [ 'Xc']
! (25) [ 'Yc']
! (26) [ 'Windv']
! (27) ['FrCoef']
! (28) [ 'RTm01']
! (29) ['EnDens']
! (30) [ 'dHs']
! (31) [ 'dTm']
! (32) [ 'Tm02']
! (33) [ 'FSpr']
! (34) [ 'Urms']
! (35) [ 'Ufric']
! (36) [ 'Zlen']
! (37) [ 'TauW']
! (38) [ 'Cdrag']
! (39) [ 'Setup']
! (40) [ 'Time']
! (41) [ 'Tsec']
! (47) [ 'Tm_10']
! (48) ['RTm_10']
! (49) ['DifPar']
! (50) [ 'TmBot']
! (51) ['Watlev']
! (52) ['Botlev']
! (53) ['TPsmoo']
! (54) [ 'Sfric']
! (55) [ 'Ssurf']
! (56) [ 'Swcap']
! (57) [ 'Sveg']
! (58) [ 'Qp']
! (59) [ 'BFI']
! (60) ['Genera']
! (61) [ 'Swind']
! (62) ['Redist']
! (63) [ 'Snl4']
! (64) [ 'Snl3']
! (65) ['Propag']
! (66) ['Propxy']
! (67) ['Propth']
! (68) ['Propsi']
! (69) ['Radstr']
! (70) ['Nplant']
! (71) [ 'Lwavp']
! (72) [ 'Stur']
! (73) [ 'Turb']
! (74) [ 'Smud']
! (75) ['Sswell']
! (76) [ 'Sice']
! (77) [' aice']
! (78) [' hice']
! (79) ['Sbragg']
! (80) [ 'Sqc']
! OVLNAM(NMOVAR) long name of output quantity
! ( 1) [ 'X user coordinate']
! ( 2) [ 'Y user coordinate']
! ( 3) [ 'distance along output curve']
! ( 4) [ 'Depth']
! ( 5) [ 'Current velocity']
! ( 6) [ 'Orbital velocity at the bottom']
! ( 7) [ 'Energy dissipation']
! ( 8) [ 'Fraction breaking waves']
! ( 9) [ 'Energy leak over spectral boundaries']
! (10) [ 'Significant wave height']
! (11) [ 'Average absolute wave period']
! (12) [ 'Peak period']
! (13) [ 'Average wave direction']
! (14) [ 'direction of the peak of the spectrum']
! (15) [ 'direction of the energy transport']
! (16) [ 'directional spreading']
! (17) [ 'Average wave length']
! (18) [ 'Wave steepness']
! (19) [ 'Wave energy transport']
! (20) [ 'Wave driven force per unit surface']
! (21) [ 'spectral action density']
! (22) [ 'spectral energy density']
! (23) [ 'auxiliary variable']
! (24) [ 'X computational grid coordinate']
! (25) [ 'Y computational grid coordinate']
! (26) [ 'Wind velocity at 10 m above sea level']
! (27) [ 'Bottom friction coefficient']
! (28) [ 'Average relative wave period']
! (29) [ 'energy density integrated over direction']
! (30) [ 'difference in Hs between iterations']
! (31) [ 'difference in Tm between iterations']
! (32) [ 'Zero-crossing period']
! (33) [ 'Frequency spectral width (Kappa)']
! (34) [ 'RMS of orbital velocity at the bottom']
! (35) [ 'Friction velocity']
! (40) [ 'Date-time']
! (41) [ 'Time in seconds from reference time']
! (36) ['Zero velocity thickness of boundary layer']
! (37) [ ' ']
! (38) [ 'Drag coefficient']
! (39) [ 'Setup due to waves']
! (47) [ 'Average absolute wave period']
! (48) [ 'Average relative wave period']
! (49) [ 'Diffraction parameter']
! (50) [ 'Bottom wave period']
! (51) [ 'Water level']
! (52) [ 'Bottom level']
! (53) [ 'Relative peak period (smooth)']
! (54) [ 'Bottom friction dissipation']
! (55) [ 'Surf breaking dissipation']
! (56) [ 'Whitecapping dissipation']
! (57) [ 'Vegetation dissipation']
! (58) [ 'Peakedness']
! (59) [ 'Benjamin-Feir index']
! (60) [ 'Energy generation']
! (61) [ 'Wind source term']
! (62) [ 'Energy redistribution']
! (63) [ 'Total absolute 4-wave interaction']
! (64) [ 'Total absolute 3-wave interaction']
! (65) [ 'Energy propagation']
! (66) [ 'xy-propagation']
! (67) [ 'theta-propagation']
! (68) [ 'sigma-propagation']
! (69) [ 'Radiation stress']
! (70) [ 'Plants per m2']
! (71) [ 'Peak wave length']
! (72) [ 'Turbulent dissipation']
! (73) [ 'Turbulent viscosity']
! (74) [ 'Fluid mud dissipation']
! (75) [ 'Swell dissipation']
! (76) [ 'Sea ice dissipation']
! (77) [ 'ice concentration (fraction)']
! (78) [ 'ice thickness']
! (79) [ 'Total absolute Bragg scattering']
! (80) [ 'Total absolute QC scattering']
! OVUNIT(NMOVAR) unit of of output quantity
! ( 1) [CALCULAT] =UL
! ( 2) [CALCULAT] =UL
! ( 3) [CALCULAT] =UL
! ( 4) [CALCULAT] =UH
! ( 5) [CALCULAT] =UV
! ( 6) [CALCULAT] =UV
! ( 7) [ 'm2/s'] change to UDL ???, changed to 'W/m2', if INRHOG=1
! ( 8) [ ' ']
! ( 9) [ 'm2/s'] change to UDL ???, changed to 'W/m2', if INRHOG=1
! (10) [CALCULAT] =UH
! (11) [CALCULAT] =UT
! (12) [CALCULAT] =UT
! (13) [CALCULAT] =UDI
! (14) [CALCULAT] =UDI
! (15) [CALCULAT] =UDI
! (16) [CALCULAT] =UDI
! (17) [CALCULAT] =UL
! (18) [ ' ']
! (19) [ 'm2s'] changed to 'W/m' (=UP), if INRHOG=1
! (20) [CALCULAT] =UF
! (21) [ 'm2s'] changed to 'Js/m2', if INRHOG=1
! (22) [ 'm2'] changed to 'J/m2', if INRHOG=1
! (23) [ ' ']
! (24) [ ' ']
! (25) [ ' ']
! (26) [CALCULAT] =UV
! (27) [ ' ']
! (28) [CALCULAT] =UT
! (29) [ 'm2'] changed to 'J/m2', if INRHOG=1
! (30) [CALCULAT] =UH
! (31) [CALCULAT] =UT
! (32) [CALCULAT] =UT
! (33) [ ' ']
! (34) [CALCULAT] =UV
! (35) [CALCULAT] =UV
! (36) [CALCULAT] =UL
! (37) [ ' ']
! (38) [ ' ']
! (39) [ 'm']
! (40) [ ' ']
! (41) [ 's']
! (47) [CALCULAT] =UT
! (48) [CALCULAT] =UT
! (49) [ ' ']
! (50) [CALCULAT] =UT
! (51) [CALCULAT] =UH
! (52) [CALCULAT] =UH
! (53) [CALCULAT] =UT
! (54) [ 'm2/s'] change to UDL ???, changed to 'W/m2', if INRHOG=1
! (55) [ 'm2/s'] change to UDL ???, changed to 'W/m2', if INRHOG=1
! (56) [ 'm2/s'] change to UDL ???, changed to 'W/m2', if INRHOG=1
! (57) [ 'm2/s'] change to UDL ???, changed to 'W/m2', if INRHOG=1
! (58) [ ' ']
! (59) [ ' ']
! (60) [ 'm2/s'] change to UDL ???, changed to 'W/m2', if INRHOG=1
! (61) [ 'm2/s'] change to UDL ???, changed to 'W/m2', if INRHOG=1
! (62) [ 'm2/s'] change to UDL ???, changed to 'W/m2', if INRHOG=1
! (63) [ 'm2/s'] change to UDL ???, changed to 'W/m2', if INRHOG=1
! (64) [ 'm2/s'] change to UDL ???, changed to 'W/m2', if INRHOG=1
! (65) [ 'm2/s'] change to UDL ???, changed to 'W/m2', if INRHOG=1
! (66) [ 'm2/s'] change to UDL ???, changed to 'W/m2', if INRHOG=1
! (67) [ 'm2/s'] change to UDL ???, changed to 'W/m2', if INRHOG=1
! (68) [ 'm2/s'] change to UDL ???, changed to 'W/m2', if INRHOG=1
! (69) [ 'm2/s'] change to UDL ???, changed to 'W/m2', if INRHOG=1
! (70) [ '1/m2']
! (71) [CALCULAT] =UL
! (72) [ 'm2/s'] change to UDL ???, changed to 'W/m2', if INRHOG=1
! (73) [ 'm2/s'] change to UDL ???, changed to 'W/m2', if INRHOG=1
! (74) [ 'm2/s'] change to UDL ???, changed to 'W/m2', if INRHOG=1
! (75) [ 'm2/s'] change to UDL ???, changed to 'W/m2', if INRHOG=1
! (76) [ 'm2/s'] changes to 'W/m2' if INRHOG=1
! (77) [ ' ']
! (78) [ 'm']
! (79) [ 'm2/s'] change to UDL ???, changed to 'W/m2', if INRHOG=1
! (80) [ 'm2/s'] change to UDL ???, changed to 'W/m2', if INRHOG=1
! SNAME [ ] name of output point set
! UAP [ 'W/m2'] unit of dissipation
! UD [ ] not used
! UDI [ 'degr'] unit of direction
! UDL [ 'm2/s'] unit of dissipation
! UET [ 'm3/s'] unit of energy transport, and wave force
! UF [ 'N/m2'] unit of pressure or shear stress (force per area)
! UH [ 'm'] unit of vertical length
! UL [ 'm'] unit of horizontal length
! UP [ 'W/m'] unit of energy flux density
! UST [ 'm2/s2'] not used
! UT [ 'sec'] unit of time (change to s ???)
! UV [ 'm/s'] unit of velocity
!
CHARACTER*20 CHTIME
CHARACTER*36 FBCL, FBCR, FNEST
CHARACTER*8 OVKEYW(NMOVAR)
CHARACTER*40 OVLNAM(NMOVAR)
CHARACTER*6 OVSNAM(NMOVAR)
CHARACTER*16 OVUNIT(NMOVAR)
CHARACTER*8 SNAME
CHARACTER*6 UAP, UD, UDI, UDL
CHARACTER*6 UET, UF, UH, UL
CHARACTER*6 UP, UST, UT, UV
! *** information for output ***
!
! AKPOWR [ ] power in expression for computation of average wave number
! =kpower; set by command SET ... [kpower] ... (not documented)
! ALCQ [ ] angle between x-axes of computational grid and output frame
! ALPQ [ ] angle between x-axes of user coord. system and output frame
! COSCQ [ ] cos of ALCQ
! COSPQ [ ] cos of ALPQ
! DXK [ ] mesh size of output frame
! DYK [ ] mesh size of output frame
! ERRPTS [ ] unit ref. number of file containing coord. of "problem points"
! =16, unit reference number of the file
! INRHOG [ 0] indicates the choice for output based on "variance" or "true energy"
! =0, output based on variance
! =1, output based on true energy
! IUBOTR [ 0] set to 1, when IVTYPE=6 or 18
! OVSVTY(NMOVAR) type of the output variable
! =1, scalar
! =2, angle
! =3, vector
! =4, tensor
! =5, fully spectral quantity
! =6, directional spectral quantity
! ( 1) [ 1] Xp
! ( 2) [ 1] Yp
! ( 3) [ 1] Dist
! ( 4) [ 1] Depth
! ( 5) [ 3] Vel
! ( 6) [ 1] Ubot
! ( 7) [ 1] Dissip
! ( 8) [ 1] Qb
! ( 9) [ 1] Leak
! (10) [ 1] Hs
! (11) [ 1] Tm01
! (12) [ 1] Tpeak
! (13) [ 2] Dir
! (14) [ 2] PkDir
! (15) [ 2] TDir
! (16) [ 1] Dspr
! (17) [ 1] Wlen
! (18) [ 1] Steepn
! (19) [ 3] Transp
! (20) [ 3] WForce
! (21) [ 5] AcDens
! (22) [ 5] EnDens