Ignore:
Timestamp:
Jul 17, 2025, 3:54:42 PM (4 weeks ago)
Author:
jbclement
Message:

Mars PCM:
Addition of a sanity check for the tracers 'ccn_number' and 'ccn_mass' when using the 'microphys' option.
JBC

File:
1 edited

Legend:

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

    r3726 r3854  
    866866       endif
    867867
     868       if (microphys) then
     869       ! verify that we indeed have ccn_number and ccn_mass tracers
     870         if (igcm_ccn_number == 0) then
     871           write(*,*) "initracer: error !!"
     872           write(*,*) "  cannot use microphys option without ",
     873     &                "a ccn_number tracer !"
     874           call abort_physic("initracer","water cycle issue",1)
     875         endif
     876         if (igcm_ccn_mass == 0) then
     877           write(*,*) "initracer: error !!"
     878           write(*,*) "  cannot use microphys option without ",
     879     &                "a ccn_mass tracer !"
     880           call abort_physic("initracer","microphys issue",1)
     881         endif
     882       endif
     883
    868884
    869885       if (co2clouds) then
Note: See TracChangeset for help on using the changeset viewer.