Ignore:
Timestamp:
May 10, 2022, 6:50:43 PM (2 years ago)
Author:
Laurent Fairhead
Message:

Source code and xml files needed for XIOS output in the LMDZ LonLat? dynamical core.
One flag controls everything: ok_dyn_xios. Parameters controlling outputs need to be put in the xml
files, nothing is set in the code
Work to follow on the dynzon file and the modipsl/libIGCM framework.
ok_dyn_xios = n should not change anything

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/dyn3dmem/leapfrog_loc.F

    • Property svn:keywords set to Id
    r4143 r4146  
    4242       USE temps_mod, ONLY: itaufin,jD_ref,jH_ref,day_ini,
    4343     &                        day_ref,start_time,dt
     44       USE xios, ONLY: xios_update_calendar
    4445       
    4546      IMPLICIT NONE
     
    16181619              ENDIF
    16191620#endif
     1621
     1622
    16201623            ENDIF
    16211624
     
    16421645             endif
    16431646#endif
    1644             endif ! of if (leapf.or.(.not.leapf.and.(.not.forward)))
     1647             
     1648#ifdef CPP_XIOS
     1649              IF (ok_dyn_xios) THEN
     1650c$OMP MASTER
     1651                 CALL xios_update_calendar(itau)
     1652c$OMP END MASTER
     1653c$OMP BARRIER
     1654                 CALL writedyn_xios(vcov,
     1655     &                 ucov,teta,pk,phi,q,masse,ps,phis)
     1656              ENDIF
     1657#endif
     1658             
     1659          endif                 ! of if (leapf.or.(.not.leapf.and.(.not.forward)))
     1660
     1661
    16451662           ENDIF ! of IF(MOD(itau,iecri).EQ.0)
    16461663
     
    17731790               ENDIF
    17741791#endif
     1792               
     1793
    17751794              ENDIF ! of IF(MOD(itau,iperiod).EQ.0 .OR. itau.EQ.itaufin)
    17761795
     
    17911810              endif ! of if (ok_dyn_ins)
    17921811#endif
    1793               ENDIF ! of IF(MOD(itau,iecri).EQ.0)
     1812
     1813#ifdef CPP_XIOS
     1814              IF (ok_dyn_xios) THEN
     1815c$OMP MASTER
     1816                 CALL xios_update_calendar(itau)
     1817c$OMP END MASTER
     1818c$OMP BARRIER
     1819                 CALL writedyn_xios(vcov,
     1820     &                 ucov,teta,pk,phi,q,masse,ps,phis)
     1821              ENDIF
     1822#endif
     1823             
     1824           ENDIF                ! of IF(MOD(itau,iecri).EQ.0)
    17941825             
    17951826
Note: See TracChangeset for help on using the changeset viewer.