Ignore:
Timestamp:
Oct 18, 2023, 3:35:24 PM (12 months ago)
Author:
jbclement
Message:

Marc PCM:

  • Correction of a bug in "writediagfi.F": the case of using the 1D model with parallelization was not anticipated so that the "diagfi.nc" file was filled with NaNf?;
  • Addition of the file "start1D.txt" as an example in the directory deftank/;
  • Some "cosmetic" modifications in "improvedclouds_mod.F", "write_output_mod.F90" and "testphys1d.F90".

JBC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/phymars/writediagfi.F

    r2900 r3092  
    312312        if (dim.eq.3) then
    313313
     314          IF (klon_glo>1) THEN ! General case
    314315#ifdef CPP_PARA
    315316          ! Gather field on a "global" (without redundant longitude) array
     
    327328!         Passage variable physique -->  variable dynamique
    328329!         recast (copy) variable from physics grid to dynamics grid
    329           IF (klon_glo>1) THEN ! General case
    330330           DO l=1,nbp_lev
    331331             DO i=1,nbp_lon+1
     
    341341             ENDDO
    342342           ENDDO
     343#endif
    343344          ELSE ! 1D model case
    344345           dx3_1d(1,1:nbp_lev)=px(1,1:nbp_lev)
    345346          ENDIF
    346 #endif
    347347!         Ecriture du champs
    348348
     
    416416        else if (dim.eq.2) then
    417417
     418          IF (klon_glo>1) THEN ! General case
    418419#ifdef CPP_PARA
    419420          ! Gather field on a "global" (without redundant longitude) array
     
    433434!         Passage variable physique -->  physique dynamique
    434435!         recast (copy) variable from physics grid to dynamics grid
    435           IF (klon_glo>1) THEN ! General case
    436436             DO i=1,nbp_lon+1
    437437                dx2(i,1)=px(1,1)
     
    445445                dx2(nbp_lon+1,j)=dx2(1,j)
    446446             ENDDO
     447#endif
    447448          ELSE ! 1D model case
    448449            dx2_1d=px(1,1)
    449450          ENDIF
    450 #endif
    451451
    452452          if (is_master) then
Note: See TracChangeset for help on using the changeset viewer.