File indexing completed on 2018-03-02 18:42:55 UTC
view on githubraw file Latest commit add29e06 on 2018-01-31 20:35:05 UTC
367ecbf006 Gael*0001 #include "PROFILES_OPTIONS.h"
6e4c90fea3 Patr*0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021 subroutine active_read_profile(
0022 I active_num_file,
0023 I nactive_var,
0024 O active_var,
0025 I active_varnum,
0026 I irec,
0027 I lAdInit,
0028 I myOptimIter,
71a5587721 Gael*0029 I bi,
0030 I bj,
6e4c90fea3 Patr*0031 I mythid,
0032 I dummy
0033 & )
0034
0035
0036
0037
0038
0039
0040
0041 implicit none
0042
0043 #include "EEPARAMS.h"
0044 #include "SIZE.h"
0045 #ifdef ALLOW_PROFILES
6328b73337 Gael*0046 # include "PROFILES_SIZE.h"
6e4c90fea3 Patr*0047 # include "profiles.h"
0048 #endif
0049
0050
0051
0052
0053
0054
0055
0056
0057
0058
0059
0060 integer nactive_var,active_num_file
0061 _RL active_var(nactive_var)
0062 integer irec,active_varnum
0063 integer myOptimIter
71a5587721 Gael*0064 integer bi,bj,mythid
6e4c90fea3 Patr*0065 logical lAdInit
0066 _RL dummy
0067
0068 #ifdef ALLOW_PROFILES
0069
71a5587721 Gael*0070 call active_read_profile_rl( fidforward(active_num_file,bi,bj),
6e4c90fea3 Patr*0071 & active_num_file,
0072 & nactive_var, active_var, active_varnum, lAdInit,
71a5587721 Gael*0073 & irec, prof_ind_glob(active_num_file,irec,bi,bj),
0074 & FORWARD_SIMULATION, myOptimIter,bi,bj, mythid)
6e4c90fea3 Patr*0075
0076 #endif
0077
0078 return
0079 end
0080
0081
0082
0083
0084
0085
0086
0087 subroutine active_write_profile(
0088 I active_num_file,
0089 I nactive_var,
0090 I active_var,
0091 I active_varnum,
0092 I irec,
0093 I myOptimIter,
71a5587721 Gael*0094 I bi,
0095 I bj,
6e4c90fea3 Patr*0096 I mythid,
0097 I dummy
0098 & )
0099
0100
0101
0102
0103
0104
0105
0106
0107
0108 implicit none
0109
0110
0111 #include "EEPARAMS.h"
0112 #include "SIZE.h"
0113 #ifdef ALLOW_PROFILES
6328b73337 Gael*0114 # include "PROFILES_SIZE.h"
6e4c90fea3 Patr*0115 # include "profiles.h"
0116 #endif
0117
0118
0119
0120
0121
0122
0123
0124
0125
0126 integer nactive_var,active_num_file, active_varnum
0127 _RL active_var(nactive_var)
0128 integer irec
0129 integer myOptimIter
71a5587721 Gael*0130 integer bi,bj,mythid
6e4c90fea3 Patr*0131 _RL dummy
0132
0133 #ifdef ALLOW_PROFILES
0134
71a5587721 Gael*0135 call active_write_profile_rl( fidforward(active_num_file,bi,bj),
6e4c90fea3 Patr*0136 & active_num_file,
71a5587721 Gael*0137 & nactive_var, active_var, active_varnum,
0138 & irec, prof_ind_glob(active_num_file,irec,bi,bj),
0139 & FORWARD_SIMULATION, myOptimIter,bi,bj, mythid)
6e4c90fea3 Patr*0140
0141 #endif
0142
0143 return
0144 end
0145
0146
0147
0148