File indexing completed on 2018-03-02 18:40:49 UTC
view on githubraw file Latest commit add29e06 on 2018-01-31 20:35:05 UTC
38663a2fb5 Jean*0001 #include "FLT_OPTIONS.h"
c806179eb4 Alis*0002
eacecc7041 Jean*0003
0004
0005
0006
0007
0008
a11169c200 Jean*0009
0010
0011
0012
0013
0014
0015
eacecc7041 Jean*0016
0017
0018
a11169c200 Jean*0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
eacecc7041 Jean*0029
0030
0031
0032
0033
0034
0035
0036
0037
0038
0039
0040
0041
0042
0043
0044
0045
0046
0047
0048
c806179eb4 Alis*0049
2fc321ec23 Jean*0050
0051
c806179eb4 Alis*0052
2fc321ec23 Jean*0053
38663a2fb5 Jean*0054 SUBROUTINE FLT_MAIN (
eacecc7041 Jean*0055 I myTime, myIter, myThid )
c806179eb4 Alis*0056
2fc321ec23 Jean*0057
38663a2fb5 Jean*0058
0059
0060
0061
0062
0063
0064
0065
0066
0067
0068
0069
0070
0071
0072
0073
0074
c806179eb4 Alis*0075
a11169c200 Jean*0076
0077 IMPLICIT NONE
2fc321ec23 Jean*0078
c806179eb4 Alis*0079 #include "SIZE.h"
2fc321ec23 Jean*0080 #include "EEPARAMS.h"
0081 #include "PARAMS.h"
730d8469b1 Oliv*0082 #include "FLT_SIZE.h"
c806179eb4 Alis*0083 #include "FLT.h"
0084
2fc321ec23 Jean*0085
0086
0087
0088
38663a2fb5 Jean*0089 _RL myTime
eacecc7041 Jean*0090 INTEGER myIter, myThid
c806179eb4 Alis*0091
2fc321ec23 Jean*0092
0093 LOGICAL DIFFERENT_MULTIPLE
0094 EXTERNAL DIFFERENT_MULTIPLE
0095
0096
0097
38663a2fb5 Jean*0098
2fc321ec23 Jean*0099 #ifdef ALLOW_DEBUG
0100 IF (debugMode) CALL DEBUG_ENTER( 'FLT_MAIN', myThid )
0101 #endif
0102
0103
0104 #ifdef ALLOW_DEBUG
0105 IF (debugMode) CALL DEBUG_CALL('FLT_RUNGA*', myThid )
0106 #endif
3394409633 Oliv*0107 #ifdef FLT_SECOND_ORDER_RUNGE_KUTTA
eacecc7041 Jean*0108
c806179eb4 Alis*0109 CALL TIMER_START('FLOATS RUNGA2 [FLT LOOP]',myThid)
eacecc7041 Jean*0110 CALL FLT_RUNGA2( myTime, myIter, myThid )
c806179eb4 Alis*0111 CALL TIMER_STOP ('FLOATS RUNGA2 [FLT LOOP]',myThid)
eacecc7041 Jean*0112
3394409633 Oliv*0113 #else
0114
0115 CALL TIMER_START('FLOATS RUNGA4 [FLT LOOP]',myThid)
0116 CALL FLT_RUNGA4( myTime, myIter, myThid )
0117 CALL TIMER_STOP ('FLOATS RUNGA4 [FLT LOOP]',myThid)
0118
0119 #endif
38663a2fb5 Jean*0120
2fc321ec23 Jean*0121
c806179eb4 Alis*0122
2fc321ec23 Jean*0123 #ifdef ALLOW_DEBUG
0124 IF (debugMode) CALL DEBUG_CALL('FLT_EXCH*', myThid )
0125 #endif
626d00bea6 Jean*0126 CALL TIMER_START('FLOATS EXCHG [FLT LOOP]',myThid)
ad773b031f Oliv*0127 #ifdef ALLOW_EXCH2
0128 CALL FLT_EXCH2( myTime, myIter, myThid )
0129 #else
626d00bea6 Jean*0130 CALL FLT_EXCHG( myTime, myIter, myThid )
ad773b031f Oliv*0131 #endif
626d00bea6 Jean*0132 CALL TIMER_STOP ('FLOATS EXCHG [FLT LOOP]',myThid)
c806179eb4 Alis*0133
2fc321ec23 Jean*0134
c806179eb4 Alis*0135
2fc321ec23 Jean*0136 IF ( DIFFERENT_MULTIPLE( flt_int_prof, myTime, deltaTClock )
0137 & ) THEN
0138 #ifdef ALLOW_DEBUG
0139 IF (debugMode) CALL DEBUG_CALL('FLT_UP', myThid )
0140 #endif
626d00bea6 Jean*0141 CALL TIMER_START('FLOATS UP [FLT LOOP]',myThid)
0142 CALL FLT_UP( myTime, myIter, myThid )
0143 CALL TIMER_STOP ('FLOATS UP [FLT LOOP]',myThid)
eacecc7041 Jean*0144 ENDIF
c806179eb4 Alis*0145
2fc321ec23 Jean*0146 #ifdef ALLOW_DEBUG
0147 IF (debugMode) CALL DEBUG_CALL('FLT_DOWN', myThid )
0148 #endif
eacecc7041 Jean*0149
626d00bea6 Jean*0150 CALL TIMER_START('FLOATS DOWN [FLT LOOP]',myThid)
0151 CALL FLT_DOWN( myTime, myIter, myThid )
0152 CALL TIMER_STOP ('FLOATS DOWN [FLT LOOP]',myThid)
eacecc7041 Jean*0153
c806179eb4 Alis*0154
2fc321ec23 Jean*0155
38663a2fb5 Jean*0156
2fc321ec23 Jean*0157 IF ( DIFFERENT_MULTIPLE( flt_int_traj, myTime, deltaTClock )
0158 & ) THEN
0159 #ifdef ALLOW_DEBUG
0160 IF (debugMode) CALL DEBUG_CALL('FLT_TRAJ', myThid )
0161 #endif
eacecc7041 Jean*0162
626d00bea6 Jean*0163 CALL TIMER_START('FLOATS TRAJ [FLT LOOP]',myThid)
0164 CALL FLT_TRAJ( myTime, myIter, myThid )
0165 CALL TIMER_STOP ('FLOATS TRAJ [FLT LOOP]',myThid)
eacecc7041 Jean*0166
0167 ENDIF
c806179eb4 Alis*0168
2fc321ec23 Jean*0169 #ifdef ALLOW_DEBUG
0170 IF (debugMode) CALL DEBUG_LEAVE( 'FLT_MAIN', myThid )
0171 #endif
0172
38663a2fb5 Jean*0173 RETURN
0174 END