*ID GDR1F406
*/
*/ U.M. 4.6 unix / source code change form / header   version 06/01/99
*/ CODE WRITERS MUST READ THE ACCOMPANYING INSTRUCTIONS FOR THIS BUILD:
*/  - See http://fr0800/umdoc/hegui/t3e4.6.html#chgfinst
*/ 
*/SOC:-> Extra swapbounds for (202,12) - Omega on pressure levels
*/
*/->: fuller description of mod.: purpose, relevant configurations, 
*/-> applicable previous releases, dependencies
*/
*/ Has an entry been lodged in the Problem Reporting System? [Y|N]      
*/
*/ THIS CODE IS INTENDED FOR INCLUSION IN THE 4.6 BUILD      [Y]
*/ .....................................................................
*/   Author[s]: Dave Robinson E-mail:-> drobinson@meto.gov.uk 
*/ Reviewer[s]: Paul Burton E-mail:-> pmburton@meto.gov.uk
*/
*/    "I have checked this change. When provided, the advance design 
*/  specification was agreed and adequate, and the new code conforms to
*/  Unified Model standards."
*/
*/  DESIGN SPEC. WAS REVIEWED ON: ......      REVIEWER[S] SIGNATURES
*/                                            ----------------------
*/    DATE CODE REVIEWED: ......
*/  .....................................................................
*/
*/  WILL CHANGES AFFECT ANCILLARY FILES?         [N]
*/  ARE ANY CHANGES TO STASHMASTER FILES NEEDED? [N] 
*/  USER INTERFACE ACTION REQUIRED?              [N]
*/ 
*/  TESTED IN CONFIGURATIONS:-> Global (Stratosphere)
*/  TESTS RUN BY [PERSON]:-> Dave Robinson
*/ 
*/  WILL THE CHANGES SLOW DOWN THE MODEL?        [N]
*/  -> Further details
*/  CHANGES WILL INCREASE MEMORY CONSUMPTION?    [N]   
*/  -> Further details
*/
*/ | Re-start dumps bit compare with those created without the change 
*/ V MARK [Y| ] BELOW; leave rest of lines untouched.
*/
*/   Control Code    loses bit comparison
*/   Atmosphere (assuming same science options chosen)   loses b.c.
*/   Ocean       loses bit comparison
*/   Wave        loses bit comparison
*/   Reconfiguration   loses bit comparison
*/   Diagnostics      lose bit comparison
*/ For Y2K compliance checking:  
*/ DOES THIS CHANGE INTERACT WITH DATE CALCULATIONS IN ANY WAY? [N]   
*/ 
*/  SECTIONS (TO BE) CHANGED:
*/
*/  SECTIONS (TO BE) DELETED? 
*/
*/  NEW SECTIONS?  Fill in form http://www-hc/~hadmk/STASHmaster_change.html,
*/  and give section numbers below:
*/  
*/  *DEFS ADDED OR REMOVED: 
*/
*/  **Existing** decks being changed [with *I, *D, *B directives]
*/ ATMDYN1 
*/
*/  Decks being created or purged [with *DECK, *COMDECK, *PURGEDK]
*/ *......K  Deck name   Section#.vr
*/ -> 
*/ ......................................................................
*/ ANY REFERENCES TO EXTERNAL DOCUMENTS-> instead of design spec.
*/  ...OR ... ADVANCE DESIGN SPECIFICATION (optional) 
*/ ->    
*////////////////////////////////////////////////////////////////////////
*/
*DECLARE ATMDYN1
*B GRB0F405.36
!LL  4.6  13/05/99  Extra swapbounds if processing Omega on
!LL                 pressure levels (202,12). D Robinson.
*I ATMDYN1.537
*IF DEF,MPP
        CALL SWAPBOUNDS (WORK3(1),ROW_LENGTH,P_ROWS,EW_Halo,
     &                   NS_Halo,P_LEVELS)
*ENDIF
*I GSM1F405.564
! Initialise bottom row(s) not used.
         DO I=LAST_U_FLD_PT+1,U_FIELD
           STASHWORK(SI(202,12,im_index)+(K-1)*U_FIELD+(i-1))=0.0
         ENDDO
*I ATMDYN1.594
*IF DEF,MPP
        CALL SWAPBOUNDS(STASHWORK(SI(202,12,im_index)),ROW_LENGTH,
     &                  P_ROWS,EW_Halo,NS_Halo,OMEGA_P_LEVS)
*ENDIF
*/

