@@ -77,7 +77,7 @@ subroutine readNamelists(tscheme)
7777 & mpi_transp,l_adv_curl,mpi_packing
7878
7979 namelist/ phys_param/ &
80- & ra,rae,raxi,pr,sc,prmag,ek,epsc0,epscxi0,radratio,Bn, &
80+ & ra,rae,raxi,pr,sc,prmag,ek,gamma, epsc0,epscxi0,radratio,Bn, &
8181 & ktops,kbots,ktopv,kbotv,ktopb,kbotb,kbotxi,ktopxi, &
8282 & s_top,s_bot,impS,sCMB,xi_top,xi_bot,impXi,xiCMB, &
8383 & nVarCond,con_DecRate,con_RadRatio,con_LambdaMatch, &
@@ -551,7 +551,7 @@ subroutine readNamelists(tscheme)
551551 end if
552552
553553 !- - If dilution factor is not zero, then centrifugal force on
554- if (dilution_fac == 0.0_cp ) then
554+ if (dilution_fac == 0.0_cp .and. (l_non_rot .or. gamma == 0.0_cp ) ) then
555555 l_centrifuge = .false.
556556 else
557557 l_centrifuge = .true.
@@ -574,7 +574,7 @@ subroutine readNamelists(tscheme)
574574 end if
575575
576576 if ( l_centrifuge .and. .not. &
577- & (l_anel .and. .not. l_isothermal .and. (index (interior_model, " NONE" )/= 0 )) ) then
577+ & (l_anel .and. .not. l_isothermal .and. (index (interior_model, " NONE" )/= 0 )) .and. gamma == 0.0_cp ) then
578578 call abortRun(" This case is not implemented." )
579579 ! centrifugal acceleration implemented for anelastic polytropic background so far
580580 end if
@@ -934,6 +934,7 @@ subroutine writeNamelists(n_out)
934934 write (n_out,' ('' sc ='' ,ES14.6,'' ,'' )' ) sc
935935 write (n_out,' ('' prmag ='' ,ES14.6,'' ,'' )' ) prmag
936936 write (n_out,' ('' ek ='' ,ES14.6,'' ,'' )' ) ek
937+ write (n_out,' ('' gamma ='' ,ES14.6,'' ,'' )' ) gamma
937938 write (n_out,' ('' po ='' ,ES14.6,'' ,'' )' ) po
938939 write (n_out,' ('' stef ='' ,ES14.6,'' ,'' )' ) stef
939940 write (n_out,' ('' tmelt ='' ,ES14.6,'' ,'' )' ) tmelt
0 commit comments