- Timestamp:
- Apr 11, 2018, 10:27:28 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/DYNAMICO-conv/libf/phylmd/phys_state_var_mod.F90
r3065 r3312 279 279 REAL,ALLOCATABLE,SAVE :: total_rain(:), nday_rain(:) 280 280 !$OMP THREADPRIVATE(total_rain,nday_rain) 281 REAL,ALLOCATABLE,SAVE :: paire_ter(:) 282 !$OMP THREADPRIVATE(paire_ter) 281 283 ! albsol1: albedo du sol total pour SW visible 282 284 ! albsol2: albedo du sol total pour SW proche IR … … 410 412 ! tendencies on wind due to gravity waves 411 413 414 LOGICAL,SAVE :: is_initialized=.FALSE. 415 !$OMP THREADPRIVATE(is_initialized) 416 412 417 CONTAINS 413 418 … … 430 435 include "clesphys.h" 431 436 437 IF (is_initialized) RETURN 438 is_initialized=.TRUE. 432 439 ALLOCATE(pctsrf(klon,nbsrf)) 433 440 ALLOCATE(ftsol(klon,nbsrf)) … … 540 547 ALLOCATE(pfrac_1nucl(klon,klev)) 541 548 ALLOCATE(total_rain(klon), nday_rain(klon)) 549 ALLOCATE(paire_ter(klon)) 542 550 ALLOCATE(albsol1(klon), albsol2(klon)) 543 551 !albedo SB >>> … … 595 603 ALLOCATE(ale_bl_trig(klon)) 596 604 !!! fin nrlmd le 10/04/2012 597 if (ok_gwd_rando) allocate(du_gwd_rando(klon, klev)) 605 IF (ok_gwd_rando) THEN 606 allocate(du_gwd_rando(klon, klev)) 607 du_gwd_rando(:,:)=0. 608 ENDIF 598 609 if (.not. ok_hines .and. ok_gwd_rando) allocate(du_gwd_front(klon, klev)) 599 610 … … 680 691 deallocate(pfrac_1nucl) 681 692 deallocate(total_rain, nday_rain) 693 deallocate(paire_ter) 682 694 deallocate(albsol1, albsol2) 683 695 !albedo SB >>> … … 727 739 deallocate(ale_bl_trig) 728 740 !!! fin nrlmd le 10/04/2012 729 741 is_initialized=.FALSE. 730 742 END SUBROUTINE phys_state_var_end 731 743
Note: See TracChangeset
for help on using the changeset viewer.