Changeset 22705


Ignore:
Timestamp:
04/23/18 19:29:29 (7 years ago)
Author:
dmenemen
Message:

rearranging send/receive operations, so easier to figure
out what to do on MITgcm side and for improved clarity

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/test/MITgcm/coupling_rules.txt

    r22695 r22705  
    1515>>>> INITIALIZATION FROM SCRATCH
    1616
    17 Initialization (CouplingTime=0)
    18 1. ISSM sends CouplingTime for the interval at which we couple
    19 2. ISSM sends ice model time IceTimeTag
    20 3. MITgcm sends ocean model time OceanTimeTag
    21 4. MITgcm sends grid size (NX and NY) and grid coordinates of
    22    center of cells (longitude -180 <= XC < 180 and latitude YC)
    23 5. MITgcm integrates for CouplingTime=0:1
    24 6. MITgcm sends CouplingTime=0:1-time-mean melt rate to ISSM
     17Initialization:
     18IceModelTime   = 0
     19OceanModelTime = 0
    2520
    26 CouplingTime=1
    27 1. ISSM sends ice model time IceTimeTag
    28 2. MITgcm sends ocean model time OceanTimeTag
    29 3. ISSM sends CouplingTime=0 base to MITgcm (this is duplicate of Initialization)
    30                 base should be 9999 in areas not covered by the ice grid
    31 4. ISSM integrates for CouplingTime=0:1
    32 5. MITgcm integrates for CouplingTime=1:2
    33 6. MITgcm sends CouplingTime=1:2-time-mean melt rate to ISSM
     21  I1. ISSM sends CouplingTime
     22      (the interval at which we couple)
     23
     24  I2. MITgcm sends grid size (NX and NY)
     25
     26  I3. MITgcm sends grid coordinates of center of cells
     27      (longitude -180 <= XC < 180 and latitude YC)
     28
     29  I4. ISSM sends ice model time IceTimeTag
     30
     31  I5. MITgcm sends ocean model time OceanTimeTag
     32
     33  I6. ISSM sends IceModelTime=0 base to MITgcm
     34      (base should be 9999 in areas not covered by ice grid)
     35
     36  I7. MITgcm integrates from OceanModelTime=0
     37                          to OceanModelTime=CouplingTime
     38
     39First Coupling Exchange:
     40IceModelTime   = 0
     41OceanModelTime = CouplingTime
     42
     43  C1. ISSM sends ice model time IceTimeTag
     44
     45  C2. MITgcm sends ocean model time OceanTimeTag
     46
     47  C3. MITgcm sends
     48      0 <= OceanModelTime < CouplingTime
     49      time-mean melt rate to ISSM
     50 
     51  C4. ISSM sends IceModelTime=0 base to MITgcm
     52      (this is duplicate of Initialization)
     53
     54  C5i. ISSM integrates from IceModelTime=0
     55                         to IceModelTime=CouplingTime
     56
     57  C5o. MITgcm integrates from OceanModelTime=CouplingTime
     58                           to OceanModelTime=2*CouplingTime
    3459
    3560...
    3661
    37 CouplingTime=N
    38 1. ISSM sends ice model time IceTimeTag
    39 2. MITgcm sends ocean model time OceanTimeTag
    40 3. ISSM sends CouplingTime=N-1 base to MITgcm
    41                 base should be 9999 in areas not covered by the ice grid
    42 4. ISSM integrates for CouplingTime=(N-1):N
    43 5. MITgcm integrates for CouplingTime=N:(N+1)
    44 6. MITgcm sends CouplingTime=N:(N+1)-time-mean melt rate to ISSM
     62Coupling Exchange N:
     63IceModelTime   = (N-1) * CouplingTime
     64OceanModelTime =   N   * CouplingTime
    4565
    46 Termination (CouplingTime=N+1)
    47 1. ISSM saves CouplingTime=N ISSM state and N:(N+1)-time-mean melt rate
    48 2. MITgcm saves CouplingTime=N+1 MITgcm state
     66  C1. ISSM sends ice model time IceTimeTag
     67
     68  C2. MITgcm sends ocean model time OceanTimeTag
     69
     70  C3. MITgcm sends
     71      (N-1)*CouplingTime <= OceanModelTime < N*CouplingTime
     72      time-mean melt rate to ISSM
     73 
     74  C4. ISSM sends IceModelTime=(N-1)*CouplingTime base to MITgcm
     75
     76  C5i. ISSM integrates from IceModelTime=(N-1)*CouplingTime
     77                         to IceModelTime=N*CouplingTime
     78
     79  C5o. MITgcm integrates from OceanModelTime=N*CouplingTime
     80                           to OceanModelTime=(N+1)*CouplingTime
     81
     82Termination:
     83IceModelTime   =   N   * CouplingTime
     84OceanModelTime = (N+1) * CouplingTime
     85
     86  C1. ISSM sends ice model time IceTimeTag
     87
     88  C2. MITgcm sends ocean model time OceanTimeTag
     89
     90  C3. MITgcm sends
     91      N*CouplingTime <= OceanModelTime < (N+1)*CouplingTime
     92      time-mean melt rate to ISSM
     93 
     94  C4i. ISSM saves to restart files the IceModelTime=N state and
     95       the N*CouplingTime to (N+1)*CouplingTime mean melt rate
     96
     97  C4o. MITgcm saves to restart files
     98       the OceanModelTime=(N+1)*CouplingTime state
    4999
    50100
    51101>>>> RESTART FROM SAVED STATE
    52102
    53 Initialization (CouplingTime=N+1)
    54 1. ISSM sends ice model time IceTimeTag
    55 2. MITgcm sends ocean model time OceanTimeTag
    56 3. ISSM reads CouplingTime=N ISSM state and N:(N+1)-time-mean melt rate
    57 4. MITgcm reads CouplingTime=N+1 MITgcm state
     103Initialization:
     104IceModelTime   =   N   * CouplingTime
     105OceanModelTime = (N+1) * CouplingTime
    58106
    59 CouplingTime=N+1
    60 1. ISSM sends ice model time IceTimeTag
    61 2. MITgcm sends ocean model time OceanTimeTag
    62 3. ISSM sends CouplingTime=N base to MITgcm
    63                 base should be 9999 in areas not covered by the ice grid
    64 4. ISSM integrates for CouplingTime=N:(N+1)
    65 5. MITgcm integrates for CouplingTime=(N+1):(N+2)
    66 6. MITgcm sends CouplingTime=(N+1):(N+2)-time-mean melt rate to ISSM
     107  I1. ISSM sends CouplingTime
     108
     109  I2. MITgcm sends grid size (NX and NY)
     110
     111  I3. MITgcm sends grid coordinates (XC and YC)
     112
     113  I4i. ISSM reads from restart files the IceModelTime=N state and
     114       the N*CouplingTime to (N+1)*CouplingTime mean melt rate
     115
     116  I4o. MITgcm reads from restart files
     117       the OceanModelTime=(N+1)*CouplingTime state
     118
     119  I5. ISSM sends ice model time IceTimeTag
     120
     121  I6. MITgcm sends ocean model time OceanTimeTag
     122
     123  I7. ISSM sends IceModelTime=N base to MITgcm
     124
     125  I8i. ISSM integrates from IceModelTime=N*CouplingTime
     126                         to IceModelTime=(N+1)*CouplingTime
     127
     128  I8o. MITgcm integrates from OceanModelTime=(N+1)*CouplingTime
     129                          to OceanModelTime=(N+2)*CouplingTime
     130
     131First Coupling Exchange:
     132IceModelTime   = (N+1)   * CouplingTime
     133OceanModelTime = (N+2) * CouplingTime
     134
     135  C1. ISSM sends ice model time IceTimeTag
     136
     137  C2. MITgcm sends ocean model time OceanTimeTag
     138
     139  C3. MITgcm sends
     140      (N+1)*CouplingTime <= OceanModelTime < (N+2)*CouplingTime
     141      time-mean melt rate to ISSM
     142 
     143  C4. ISSM sends IceModelTime=(N+1)*CouplingTime base to MITgcm
     144
     145  C5i. ISSM integrates from IceModelTime=(N+1)*CouplingTime
     146                         to IceModelTime=(N+2)*CouplingTime
     147
     148  C5o. MITgcm integrates from OceanModelTime=(N+2)*CouplingTime
     149                           to OceanModelTime=(N+3)*CouplingTime
    67150
    68151...
Note: See TracChangeset for help on using the changeset viewer.