Ignore:
Timestamp:
Aug 20, 2025, 4:25:12 PM (2 days ago)
Author:
emillour
Message:

Mars PCM:
Some code tidying:

  • turn aeroptproperties, albedocaps, cvmgp and convadj into modules
  • remove useless check in callradite
  • clean module vlz_fi (remove obsolete #ifdef CRAY cpp alternatives)
  • remove function cvmgp since it was only called under #ifdef CRAY in vlz_fi

EM

File:
1 edited

Legend:

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

    r3756 r3901  
    1717      use aeropacity_mod, only: aeropacity
    1818      use updatereffrad_mod, only: updatereffrad
     19      use aeroptproperties_mod, only: aeroptproperties
    1920      use dimradmars_mod, only: ndomainsz, nflev, nsun, nir
    2021      use dimradmars_mod, only: naerkind, name_iaer,
     
    288289c   ---------------------
    289290
    290       real zco2   ! volume fraction of CO2 in Mars atmosphere
    291 !$OMP THREADPRIVATE(zco2)
    292       DATA zco2/0.95/
    293       SAVE zco2
    294 
    295       LOGICAL firstcall
     291      LOGICAL,SAVE :: firstcall = .true.
    296292!$OMP THREADPRIVATE(firstcall)
    297       DATA firstcall/.true./
    298       SAVE firstcall
    299293
    300294
     
    413407         
    414408!         CALL SULW ! this step is now done in ini_yomlw_h
    415 
    416          if (ngrid .EQ. 1) then
    417            if (ndomainsz .NE. 1) then
    418              print*
    419              print*,'ATTENTION !!!'
    420              print*,'pour tourner en 1D, '
    421              print*,'fixer ndomainsz=1 dans phymars/dimradmars_h'
    422              print*
    423              call exit(1)
    424            endif
    425          endif
    426409
    427410         firstcall=.false.
Note: See TracChangeset for help on using the changeset viewer.