Changeset 3637 for palm/trunk/SOURCE/swap_timelevel.f90
- Timestamp:
- Dec 20, 2018 1:51:36 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/swap_timelevel.f90
r3636 r3637 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Implementation of the PALM module interface 28 ! 29 ! 3636 2018-12-19 13:48:34Z raasch 27 30 ! nopointer option removed 28 31 ! … … 151 154 v, v_1, v_2, v_p, w, w_1, w_2, w_p 152 155 153 USE bulk_cloud_model_mod, &154 ONLY: bulk_cloud_model, bcm_swap_timelevel155 156 USE chemistry_model_mod, &157 ONLY: chem_swap_timelevel158 159 156 USE cpulog, & 160 157 ONLY: cpu_log, log_point 161 158 162 159 USE control_parameters, & 163 ONLY: air_chemistry, humidity, land_surface, neutral, ocean_mode, & 164 passive_scalar, simulated_time, timestep_count, urban_surface, & 165 time_since_reference_point, salsa 166 167 USE gust_mod, & 168 ONLY: gust_module_enabled, gust_swap_timelevel 169 170 USE land_surface_model_mod, & 171 ONLY: lsm_swap_timelevel 172 173 USE ocean_mod, & 174 ONLY: ocean_swap_timelevel 160 ONLY: humidity, neutral, passive_scalar, timestep_count 161 162 USE kinds 163 164 USE module_interface, & 165 ONLY: module_interface_swap_timelevel 175 166 176 167 USE pmc_interface, & 177 168 ONLY: nested_run, pmci_set_swaplevel 178 179 USE salsa_mod, &180 ONLY: salsa_swap_timelevel, skip_time_do_salsa181 169 182 170 USE turbulence_closure_mod, & 183 171 ONLY: tcm_swap_timelevel 184 172 185 USE urban_surface_mod, &186 ONLY: usm_swap_timelevel187 188 173 189 174 IMPLICIT NONE 190 175 191 INTEGER :: swap_level !> swap_level for steering the pmc data transfer176 INTEGER(iwp) :: swap_level !> swap_level for steering the pmc data transfer 192 177 193 178 ! … … 237 222 END SELECT 238 223 239 IF ( humidity .AND. bulk_cloud_model ) THEN 240 CALL bcm_swap_timelevel( MOD( timestep_count, 2) ) 241 ENDIF 242 243 IF ( air_chemistry ) CALL chem_swap_timelevel( MOD( timestep_count, 2) ) 244 245 IF ( gust_module_enabled ) THEN 246 CALL gust_swap_timelevel( MOD( timestep_count, 2) ) 247 ENDIF 248 249 IF ( land_surface ) THEN 250 CALL lsm_swap_timelevel( MOD( timestep_count, 2) ) 251 ENDIF 252 253 IF ( ocean_mode ) THEN 254 CALL ocean_swap_timelevel( MOD( timestep_count, 2 ) ) 255 ENDIF 256 257 IF ( salsa .AND. simulated_time >= time_since_reference_point ) THEN 258 CALL salsa_swap_timelevel( MOD( timestep_count, 2 ) ) 259 ENDIF 260 224 ! 225 !-- Set the swap level the turbulence closure module 261 226 CALL tcm_swap_timelevel( MOD( timestep_count, 2) ) 262 227 263 IF ( urban_surface ) THEN 264 CALL usm_swap_timelevel( MOD( timestep_count, 2) ) 265 ENDIF228 ! 229 !-- Set the swap level for all other modules 230 CALL module_interface_swap_timelevel( MOD( timestep_count, 2) ) 266 231 267 232 !
Note: See TracChangeset
for help on using the changeset viewer.