Ignore:
Timestamp:
Aug 26, 2025, 2:17:21 PM (5 months ago)
Author:
jbclement
Message:

Mars PCM:
Some adjustments of sanity checks for the compatibility of options 'doubleq' and 'active'.
JBC

File:
1 edited

Legend:

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

    r3855 r3904  
    593593
    594594if (doubleq) then
     595    ! verify that we indeed have dust_mass and dust_number tracers
     596    if (igcm_dust_mass == 0) then
     597           write(*,*) "initracer: error!"
     598            write(*,*) "  Cannot use doubleq option without a dust_mass tracer!"
     599           call abort_physic("initracer","doubleq issue",1)
     600    endif
     601    if (igcm_dust_number == 0) then
     602        write(*,*) "initracer: error!"
     603        write(*,*) "  Cannot use doubleq option without a dust_number tracer!"
     604        call abort_physic("initracer","doubleq issue",1)
     605    endif
     606
    595607    ! "doubleq" technique
    596608    ! -------------------
     
    785797! some extra (possibly redundant) sanity checks for tracers:
    786798! ---------------------------------------------------------
    787 if (doubleq) then
    788     ! verify that we indeed have dust_mass and dust_number tracers
    789     if (igcm_dust_mass == 0) then
    790            write(*,*) "initracer: error!"
    791             write(*,*) "  Cannot use doubleq option without a dust_mass tracer!"
    792            call abort_physic("initracer","doubleq issue",1)
    793     endif
    794     if (igcm_dust_number == 0) then
    795         write(*,*) "initracer: error!"
    796         write(*,*) "  Cannot use doubleq option without a dust_number tracer!"
    797         call abort_physic("initracer","doubleq issue",1)
    798         endif
    799 endif
    800 
    801799if ((.not.doubleq).and.(dustbin>0)) then
    802800    ! verify that we indeed have 'dustbin' dust tracers
Note: See TracChangeset for help on using the changeset viewer.