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 subroutine adactive_read_profile(
0019 I active_num_file,
0020 I nadactive_var,
10434d1dc4 Patr*0021 I adactive_var,
71a5587721 Gael*0022 I active_varnum,
6e4c90fea3 Patr*0023 I irec,
0024 I lAdInit,
0025 I myiter,
71a5587721 Gael*0026 I bi,
0027 I bj,
10434d1dc4 Patr*0028 I mythid
6e4c90fea3 Patr*0029 & )
0030
0031
0032
0033
0034
0035
0036
0037 implicit none
0038
0039
0040 #include "EEPARAMS.h"
0041 #include "SIZE.h"
0042 #ifdef ALLOW_PROFILES
6328b73337 Gael*0043 # include "PROFILES_SIZE.h"
6e4c90fea3 Patr*0044 # include "profiles.h"
0045 #endif
0046
0047
0048
0049
0050
0051
0052
0053
0054
0055
0056
0057
0058 integer nadactive_var,active_num_file
0059 _RL adactive_var(nadactive_var)
0060 integer irec,active_varnum
0061 integer myiter
71a5587721 Gael*0062 integer bi,bj,mythid
6e4c90fea3 Patr*0063 logical lAdInit
0064
0065 #ifdef ALLOW_PROFILES
0066
71a5587721 Gael*0067 call active_read_profile_rl( fidadjoint(active_num_file,bi,bj) ,
6e4c90fea3 Patr*0068 & active_num_file,
71a5587721 Gael*0069 & nadactive_var, adactive_var, active_varnum, lAdInit,
0070 & irec, prof_ind_glob(active_num_file,irec,bi,bj),
0071 & REVERSE_SIMULATION, myiter,bi,bj, mythid)
6e4c90fea3 Patr*0072
0073 #endif
0074
0075 end
0076
0077
0078
0079
0080
0081
0082 subroutine adactive_write_profile(
0083 I active_num_file,
0084 I nadactive_var,
10434d1dc4 Patr*0085 I adactive_var,
71a5587721 Gael*0086 I active_varnum,
6e4c90fea3 Patr*0087 I irec,
0088 I myiter,
71a5587721 Gael*0089 I bi,
0090 I bj,
6e4c90fea3 Patr*0091 I mythid,
0092 I dummy
0093 & )
0094
0095
0096
0097
0098
0099
0100
0101
0102 implicit none
0103
0104
0105 #include "EEPARAMS.h"
0106 #include "SIZE.h"
0107 #ifdef ALLOW_PROFILES
6328b73337 Gael*0108 # include "PROFILES_SIZE.h"
6e4c90fea3 Patr*0109 # include "profiles.h"
0110 #endif
0111
0112
0113
0114
0115
0116
0117
0118
0119
0120
0121
0122
0123 integer nadactive_var,active_num_file
0124 _RL adactive_var(nadactive_var)
0125 integer irec,active_varnum
0126 integer myiter
71a5587721 Gael*0127 integer bi,bj,mythid
6e4c90fea3 Patr*0128 _RL dummy
0129
0130
0131
0132
0133 #ifdef ALLOW_PROFILES
0134
71a5587721 Gael*0135 call active_write_profile_rl( fidadjoint(active_num_file,bi,bj) ,
6e4c90fea3 Patr*0136 & active_num_file,
71a5587721 Gael*0137 & nadactive_var, adactive_var, active_varnum,
0138 & irec, prof_ind_glob(active_num_file,irec,bi,bj),
0139 & REVERSE_SIMULATION, myiter,bi,bj, mythid)
6e4c90fea3 Patr*0140
0141 #endif
0142
0143 end
0144
0145
0146
0147