Changes in / [46706c7:35fa90d] in flexpart.git
- Location:
- src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
src/boundcond_domainfill_mpi.f90
r0f7835d r7999df47 232 232 233 233 do m=1,mmass 234 do ipart=minpart,maxpart _mpi234 do ipart=minpart,maxpart 235 235 236 236 ! If a vacant storage space is found, attribute everything to this array element … … 331 331 endif 332 332 end do 333 if (ipart.gt.maxpart _mpi) &333 if (ipart.gt.maxpart) & 334 334 stop 'boundcond_domainfill.f: too many particles required' 335 335 73 minpart=ipart+1 … … 464 464 465 465 do m=1,mmass 466 do ipart=minpart,maxpart _mpi466 do ipart=minpart,maxpart 467 467 468 468 ! If a vacant storage space is found, attribute everything to this array element … … 562 562 endif 563 563 end do 564 if (ipart.gt.maxpart _mpi) &564 if (ipart.gt.maxpart) & 565 565 stop 'boundcond_domainfill.f: too many particles required' 566 566 173 minpart=ipart+1 -
src/init_domainfill_mpi.f90
r0f7835d r7999df47 305 305 306 306 307 ! Check whether numpart is really smaller than maxpart per process308 !***************************************************** ************309 310 if (numpart.gt.maxpart _mpi) then307 ! Check whether numpart is really smaller than maxpart 308 !***************************************************** 309 310 if (numpart.gt.maxpart) then 311 311 write(*,*) 'numpart too large: change source in init_atm_mass.f' 312 write(*,*) 'numpart: ',numpart,' maxpart: ',maxpart _mpi312 write(*,*) 'numpart: ',numpart,' maxpart: ',maxpart 313 313 endif 314 314 -
src/mpi_mod.f90
r0f7835d r79abee9 2444 2444 end subroutine write_data_dbg 2445 2445 2446 2447 subroutine set_fields_synthetic() 2448 !******************************************************************************* 2449 ! DESCRIPTION 2450 ! Set all meteorological fields to synthetic (usually constant/homogeneous) 2451 ! values. 2452 ! Used for validation and error-checking 2453 ! 2454 ! NOTE 2455 ! This version uses asynchronious communications. 2456 ! 2457 ! VARIABLES 2458 ! 2459 ! 2460 ! 2461 !******************************************************************************* 2462 use com_mod 2463 2464 implicit none 2465 2466 integer :: li=1, ui=2 ! wfmem indices (i.e, operate on entire field) 2467 2468 if (.not.lmp_sync) ui=3 2469 2470 2471 ! Variables transferred at initialization only 2472 !********************************************* 2473 ! readclouds=readclouds_ 2474 oro(:,:)=0.0 2475 excessoro(:,:)=0.0 2476 lsm(:,:)=0.0 2477 xlanduse(:,:,:)=0.0 2478 ! wftime 2479 ! numbwf 2480 ! nmixz 2481 ! height 2482 2483 ! Time-varying fields: 2484 uu(:,:,:,li:ui) = 10.0 2485 vv(:,:,:,li:ui) = 0.0 2486 uupol(:,:,:,li:ui) = 10.0 2487 vvpol(:,:,:,li:ui)=0.0 2488 ww(:,:,:,li:ui)=0. 2489 tt(:,:,:,li:ui)=300. 2490 rho(:,:,:,li:ui)=1.3 2491 drhodz(:,:,:,li:ui)=.0 2492 tth(:,:,:,li:ui)=0.0 2493 qvh(:,:,:,li:ui)=1.0 2494 qv(:,:,:,li:ui)=1.0 2495 2496 pv(:,:,:,li:ui)=1.0 2497 clouds(:,:,:,li:ui)=0 2498 2499 clwc(:,:,:,li:ui)=0.0 2500 ciwc(:,:,:,li:ui)=0.0 2501 2502 ! 2D fields 2503 2504 cloudsh(:,:,li:ui)=0 2505 vdep(:,:,:,li:ui)=0.0 2506 ps(:,:,:,li:ui)=1.0e5 2507 sd(:,:,:,li:ui)=0.0 2508 tcc(:,:,:,li:ui)=0.0 2509 tt2(:,:,:,li:ui)=300. 2510 td2(:,:,:,li:ui)=250. 2511 lsprec(:,:,:,li:ui)=0.0 2512 convprec(:,:,:,li:ui)=0.0 2513 ustar(:,:,:,li:ui)=1.0 2514 wstar(:,:,:,li:ui)=1.0 2515 hmix(:,:,:,li:ui)=10000. 2516 tropopause(:,:,:,li:ui)=10000. 2517 oli(:,:,:,li:ui)=0.01 2518 2519 end subroutine set_fields_synthetic 2520 2446 2521 end module mpi_mod -
src/timemanager_mpi.f90
r0f7835d r3b80e98 275 275 if (mp_measure_time.and..not.(lmpreader.and.lmp_use_reader)) call mpif_mtime('getfields',1) 276 276 277 ! For validation and tests: call the function below to set all fields to simple 278 ! homogeneous values 279 ! if (mp_dev_mode) call set_fields_synthetic 280 281 !******************************************************************************* 282 277 283 if (lmpreader.and.nstop1.gt.1) stop 'NO METEO FIELDS AVAILABLE' 278 284
Note: See TracChangeset
for help on using the changeset viewer.