File indexing completed on 2025-08-05 05:09:14 UTC
view on githubraw file Latest commit 13ce79fe on 2025-08-04 21:05:34 UTC
367ecbf006 Gael*0001 #include "PROFILES_OPTIONS.h"
6e4c90fea3 Patr*0002
13ce79fe94 Ivan*0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024 SUBROUTINE ACTIVE_READ_PROFILE(
6e4c90fea3 Patr*0025 I active_num_file,
0026 I nactive_var,
0027 O active_var,
0028 I active_varnum,
0029 I irec,
0030 I lAdInit,
0031 I myOptimIter,
71a5587721 Gael*0032 I bi,
0033 I bj,
13ce79fe94 Ivan*0034 I myThid,
6e4c90fea3 Patr*0035 I dummy
0036 & )
0037
13ce79fe94 Ivan*0038
0039
6e4c90fea3 Patr*0040
13ce79fe94 Ivan*0041
0042 IMPLICIT NONE
0043
6e4c90fea3 Patr*0044 #include "EEPARAMS.h"
0045 #include "SIZE.h"
0046 #ifdef ALLOW_PROFILES
6328b73337 Gael*0047 # include "PROFILES_SIZE.h"
6e4c90fea3 Patr*0048 # include "profiles.h"
0049 #endif
0050
13ce79fe94 Ivan*0051
0052
0053
0054
0055
0056
0057
0058
0059
0060
0061 INTEGER nactive_var,active_num_file
0062 _RL active_var(nactive_var)
0063 INTEGER irec,active_varnum
0064 INTEGER myOptimIter
0065 INTEGER bi,bj,myThid
0066 LOGICAL lAdInit
6e4c90fea3 Patr*0067 _RL dummy
13ce79fe94 Ivan*0068
6e4c90fea3 Patr*0069
0070 #ifdef ALLOW_PROFILES
0071
13ce79fe94 Ivan*0072 CALL ACTIVE_READ_PROFILE_RL( fidforward(active_num_file,bi,bj),
6e4c90fea3 Patr*0073 & active_num_file,
0074 & nactive_var, active_var, active_varnum, lAdInit,
71a5587721 Gael*0075 & irec, prof_ind_glob(active_num_file,irec,bi,bj),
13ce79fe94 Ivan*0076 & FORWARD_SIMULATION, myOptimIter,bi,bj, myThid)
6e4c90fea3 Patr*0077
0078 #endif
0079
13ce79fe94 Ivan*0080 RETURN
0081 END
6e4c90fea3 Patr*0082
13ce79fe94 Ivan*0083
0084
0085
6e4c90fea3 Patr*0086
13ce79fe94 Ivan*0087
0088 SUBROUTINE ACTIVE_WRITE_PROFILE(
6e4c90fea3 Patr*0089 I active_num_file,
0090 I nactive_var,
0091 I active_var,
0092 I active_varnum,
0093 I irec,
0094 I myOptimIter,
71a5587721 Gael*0095 I bi,
0096 I bj,
13ce79fe94 Ivan*0097 I myThid,
6e4c90fea3 Patr*0098 I dummy
0099 & )
0100
13ce79fe94 Ivan*0101
0102
6e4c90fea3 Patr*0103
0104
13ce79fe94 Ivan*0105 IMPLICIT NONE
0106
6e4c90fea3 Patr*0107 #include "EEPARAMS.h"
0108 #include "SIZE.h"
0109 #ifdef ALLOW_PROFILES
6328b73337 Gael*0110 # include "PROFILES_SIZE.h"
6e4c90fea3 Patr*0111 # include "profiles.h"
0112 #endif
0113
13ce79fe94 Ivan*0114
0115
0116
0117
0118
0119
0120
0121
0122 INTEGER nactive_var,active_num_file, active_varnum
0123 _RL active_var(nactive_var)
0124 INTEGER irec
0125 INTEGER myOptimIter
0126 INTEGER bi,bj,myThid
6e4c90fea3 Patr*0127 _RL dummy
13ce79fe94 Ivan*0128
6e4c90fea3 Patr*0129
0130 #ifdef ALLOW_PROFILES
0131
13ce79fe94 Ivan*0132 CALL ACTIVE_WRITE_PROFILE_RL( fidforward(active_num_file,bi,bj),
6e4c90fea3 Patr*0133 & active_num_file,
71a5587721 Gael*0134 & nactive_var, active_var, active_varnum,
0135 & irec, prof_ind_glob(active_num_file,irec,bi,bj),
13ce79fe94 Ivan*0136 & FORWARD_SIMULATION, myOptimIter,bi,bj, myThid)
6e4c90fea3 Patr*0137
0138 #endif
0139
13ce79fe94 Ivan*0140 RETURN
0141 END