Ignore:
Timestamp:
04/30/13 19:27:50 (12 years ago)
Author:
Mathieu Morlighem
Message:

CHG: added gia to python model and fixed consistency of gia

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/classes/gia.py

    r14824 r14825  
    4949                #be sure that if we are running a prognostic ice flow model coupled with gia, that thickness forcings
    5050                #are not provided into the future.
    51                 if md.transient.isprognostic:
    52                         thickness=md.geometry.thickness
    53                         #figure out if thickness is a transient forcing:
    54                         s=size(thickness)
    55                         if s(1)>=md.mesh.numberofvertices:
    56                                 #recover the furthest time "in time":
    57                                 time=thickness(end,end)
    58                                 if not time==md.timestepping.start_time:
    59                                         raise RunetimeError("if isprognostic is on, transient thickness forcing for the gia model should not be provided in the future. Synchronize your start_time to correspond to the most recent transient thickness forcing timestep")
    6051
    6152                return md
Note: See TracChangeset for help on using the changeset viewer.