Changeset 3809 for LMDZ6


Ignore:
Timestamp:
Jan 28, 2021, 1:33:33 PM (3 years ago)
Author:
lguez
Message:

Additional constraint on ngroup

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. As in revision [3802] on trunk.

Location:
LMDZ6/branches/Ocean_skin/libf/dyn3dmem
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Ocean_skin/libf/dyn3dmem/conf_gcm.F90

    r3605 r3809  
    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/branches/Ocean_skin/libf/dyn3dmem/groupe_loc.F

    r2600 r3809  
    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.