Changeset 3802 for LMDZ6/trunk


Ignore:
Timestamp:
Jan 16, 2021, 7:57:49 PM (4 years ago)
Author:
lguez
Message:

Move existing constraint on ngroup from groupeun_loc to conf_gcm
(abort as soon as possible if input is bad) and add constraint on
ngroup and jjm.

Location:
LMDZ6/trunk/libf/dyn3dmem
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/dyn3dmem/conf_gcm.F90

    r3579 r3802  
    345345  ngroup=3
    346346  CALL getin('ngroup',ngroup)
     347  if (mod(iim, 2**ngroup) /= 0) &
     348       call abort_gcm("conf_gcm", 'iim must be multiple of 2**ngroup', 1)
     349  if (2**ngroup > jjm + 1) &
     350       call abort_gcm("conf_gcm", '2**ngroup must be <= jjm + 1', 1)
    347351
    348352  ! mode_top_bound : fields towards which sponge relaxation will be done:
  • LMDZ6/trunk/libf/dyn3dmem/groupe_loc.F

    r2600 r3802  
    4040c$OMP THREADPRIVATE(firstcall)
    4141
    42       data firstcall/.true./
    4342      integer ijb,ije,jjb,jje
    4443     
    45       if (firstcall) then
    46          if(mod(iim,2**ngroup).ne.0) stop'probleme du nombre ede point'
    47          firstcall=.false.
    48       endif
    49 
    5044c   Champs 1D
    5145
Note: See TracChangeset for help on using the changeset viewer.