Ignore:
Timestamp:
Nov 24, 2019, 2:11:27 PM (5 years ago)
Author:
emillour
Message:

Mars GCM:
Fix in surfini for the 1D model when imposing watercaptag.
Protect output of CO2 saturation in physiq to when there is a CO2 tracer.
EM

File:
1 edited

Legend:

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

    r1944 r2182  
    452452       endif !of if (is_master)
    453453       
    454        ! Now scatter fields watercaptag and dryness from master to all
    455        ! (is just a plain copy in serial mode)
    456        call scatter(dryness_glo,dryness)
    457        call scatter(watercaptag_glo,watercaptag)
    458        
     454       if (ngrid.gt.1) then
     455        ! Now scatter fields watercaptag and dryness from master to all
     456        ! (is just a plain copy in serial mode)
     457        call scatter(dryness_glo,dryness)
     458        call scatter(watercaptag_glo,watercaptag)
     459       endif
    459460       ELSE
    460461         watercaptag(:) = .false.
Note: See TracChangeset for help on using the changeset viewer.