Ignore:
Timestamp:
Apr 21, 2022, 9:21:48 AM (3 years ago)
Author:
aslmd
Message:

Adds an abort in inifis to avoid using wrong cpp_mugaz_mode options in 1d

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.GENERIC/libf/phystd/inifis_mod.F90

    r2655 r2664  
    10301030        write(*,*)'    !!!!! Be aware that having different values for cpp and mugaz in the dynamics and physics'
    10311031        write(*,*)'    in 3D can result in very pathological behavior. You have been warned !!!!!'
     1032      else if ((cpp_mugaz_mode == 0).and.(is_master).and.(ngrid==1)) then
     1033        ! for this specific 1D error we will remove run.def before aborting JL22
     1034        call system("rm -rf run.def")
     1035        call abort_physic(rname,"cpp_mugaz_mode must be >= 1 in 1d",1)
    10321036     endif
    10331037
Note: See TracChangeset for help on using the changeset viewer.