Changeset 4517 for palm/trunk/SOURCE/user_module.f90
- Timestamp:
- May 3, 2020 2:29:30 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/user_module.f90
r4504 r4517 21 21 ! ----------------- 22 22 ! 23 ! 23 ! 24 24 ! Former revisions: 25 25 ! ----------------- 26 26 ! $Id$ 27 ! added restart with MPI-IO for reading local arrays 28 ! 29 ! 4504 2020-04-20 12:11:24Z raasch 27 30 ! hint for setting rmask arrays added 28 31 ! … … 207 210 208 211 INTERFACE user_rrd_local 209 MODULE PROCEDURE user_rrd_local 212 MODULE PROCEDURE user_rrd_local_ftn 213 MODULE PROCEDURE user_rrd_local_mpi 210 214 END INTERFACE user_rrd_local 211 215 … … 1130 1134 SUBROUTINE user_rrd_global_mpi 1131 1135 1136 ! USE restart_data_mpi_io_mod, & 1137 ! ONLY: rrd_mpi_io 1138 1132 1139 ! CALL rrd_mpi_io( 'global_parameter', global_parameter ) 1133 1140 CONTINUE … … 1139 1146 ! Description: 1140 1147 ! ------------ 1141 !> Reading processor specific restart data from file(s) that has been defined by the user. Subdomain 1148 !> Read module-specific local restart data arrays (Fortran binary format). 1149 !> Subdomain 1142 1150 !> index limits on file are given by nxl_on_file, etc. Indices nxlc, etc. indicate the range of 1143 1151 !> gridpoints to be mapped from the subdomain on file (f) to the subdomain of the current PE (c). 1144 1152 !> They have been calculated in routine rrd_local. 1145 1153 !--------------------------------------------------------------------------------------------------! 1146 SUBROUTINE user_rrd_local ( k, nxlf, nxlc, nxl_on_file, nxrf, nxrc, nxr_on_file, nynf, nync,&1147 nyn_on_file, nysf, nysc, nys_on_file, tmp_3d, found )1154 SUBROUTINE user_rrd_local_ftn( k, nxlf, nxlc, nxl_on_file, nxrf, nxrc, nxr_on_file, nynf, nync, & 1155 nyn_on_file, nysf, nysc, nys_on_file, tmp_3d, found ) 1148 1156 1149 1157 … … 1194 1202 END SELECT 1195 1203 1196 END SUBROUTINE user_rrd_local 1204 END SUBROUTINE user_rrd_local_ftn 1205 1206 1207 !--------------------------------------------------------------------------------------------------! 1208 ! Description: 1209 ! ------------ 1210 !> Read module-specific local restart data arrays (MPI-IO). 1211 !--------------------------------------------------------------------------------------------------! 1212 SUBROUTINE user_rrd_local_mpi 1213 1214 ! USE restart_data_mpi_io_mod, & 1215 ! ONLY: rd_mpi_io_check_array, rrd_mpi_io 1216 1217 ! CALL rd_mpi_io_check_array( 'u2_av' , found = array_found ) 1218 ! IF ( array_found ) THEN 1219 ! IF ( .NOT. ALLOCATED( u2_av ) ) ALLOCATE( u2_av(nysg:nyng,nxlg:nxrg) ) 1220 ! CALL rrd_mpi_io( 'rad_u2_av', rad_u2_av ) 1221 ! ENDIF 1222 1223 CONTINUE 1224 1225 END SUBROUTINE user_rrd_local_mpi 1197 1226 1198 1227 … … 1203 1232 !--------------------------------------------------------------------------------------------------! 1204 1233 SUBROUTINE user_wrd_global 1234 1235 ! USE restart_data_mpi_io_mod, & 1236 ! ONLY: wrd_mpi_io 1205 1237 1206 1238 IF ( TRIM( restart_data_format_output ) == 'fortran_binary' ) THEN … … 1224 1256 !--------------------------------------------------------------------------------------------------! 1225 1257 SUBROUTINE user_wrd_local 1258 1259 ! USE restart_data_mpi_io_mod, & 1260 ! ONLY: wrd_mpi_io 1226 1261 1227 1262 !
Note: See TracChangeset
for help on using the changeset viewer.