Skip to content

Commit

Permalink
added a warning about default decomposition for implicit z diffusion
Browse files Browse the repository at this point in the history
  • Loading branch information
p-costa committed Apr 22, 2022
1 parent 8493ebf commit 566aa72
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/sanity.f90
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ subroutine test_sanity(ng,dims,n,n_z,lo,hi,stop_type,cbcvel,cbcpre,bcvel,bcpre,i
#if defined(_IMPDIFF_1D) && !defined(_IMPDIFF)
if(myid == 0) print*, 'ERROR: `_IMPDIFF_1D` cpp macro requires building with `_IMPDIFF` too.'; call abortit
#endif
#if defined(_IMPDIFF_1D) && !defined(_DECOMP_Z)
if(myid == 0) print*, 'WARNING: a run with implicit Z diffusion (`_IMPDIFF_1D`) is much more efficient &
when combined with a Z-pencils parallelization (`_DECOMP_Z`).'
#endif
#if defined(_DEBUG)
call chk_solvers(ng,n,n_z,lo,hi,dli,dzci_g,dzfi_g,dzci,dzfi,nb,is_bound,cbcvel,cbcpre,bcvel,bcpre,passed)
if(.not.passed) call abortit
Expand Down

0 comments on commit 566aa72

Please sign in to comment.