Changeset 25961


Ignore:
Timestamp:
01/28/21 11:09:40 (4 years ago)
Author:
jdquinn
Message:

CHG: Quick patch for SLC under Python

File:
1 edited

Legend:

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

    r25688 r25961  
    2222        self.ismovingfront = 0
    2323        self.ishydrology = 0
    24         self.isslr = 0
     24        self.isslc = 0
    2525        self.iscoupler = 0
    2626        self.amr_frequency = 0
     
    4343        s += '{}\n'.format(fielddisplay(self, 'ismovingfront', 'indicates whether a moving front capability is used in the transient'))
    4444        s += '{}\n'.format(fielddisplay(self, 'ishydrology', 'indicates whether an hydrology model is used'))
    45         s += '{}\n'.format(fielddisplay(self, 'isslr', 'indicates if a sea level rise solution is used in the transient'))
     45        s += '{}\n'.format(fielddisplay(self, 'isslc', 'indicates if a sea level change solution is used in the transient'))
    4646        s += '{}\n'.format(fielddisplay(self, 'isoceancoupling', 'indicates whether coupling with an ocean model is used in the transient'))
    4747        s += '{}\n'.format(fielddisplay(self, 'iscoupler', 'indicates whether different models are being run with need for coupling'))
     
    6969        self.ismovingfront = 0
    7070        self.ishydrology = 0
    71         self.isslr = 0
     71        self.isslc = 0
    7272        self.isoceancoupling = 0
    7373        self.iscoupler = 0
     
    9191        self.ismovingfront = 0
    9292        self.ishydrology = 0
    93         self.isslr = 0
     93        self.isslc = 0
    9494        self.isoceancoupling = 0
    9595        self.iscoupler = 0
     
    116116        md = checkfield(md, 'fieldname', 'transient.ishydrology', 'numel', [1], 'values', [0, 1])
    117117        md = checkfield(md, 'fieldname', 'transient.ismovingfront', 'numel', [1], 'values', [0, 1])
    118         md = checkfield(md, 'fieldname', 'transient.isslr', 'numel', [1], 'values', [0, 1])
     118        md = checkfield(md, 'fieldname', 'transient.isslc', 'numel', [1], 'values', [0, 1])
    119119        md = checkfield(md, 'fieldname', 'transient.isoceancoupling', 'numel', [1], 'values', [0, 1])
    120120        md = checkfield(md, 'fieldname', 'transient.iscoupler', 'numel', [1], 'values', [0, 1])
     
    139139        WriteData(fid, prefix, 'object', self, 'fieldname', 'ishydrology', 'format', 'Boolean')
    140140        WriteData(fid, prefix, 'object', self, 'fieldname', 'ismovingfront', 'format', 'Boolean')
    141         WriteData(fid, prefix, 'object', self, 'fieldname', 'isslr', 'format', 'Boolean')
     141        WriteData(fid, prefix, 'object', self, 'fieldname', 'isslc', 'format', 'Boolean')
    142142        WriteData(fid, prefix, 'object', self, 'fieldname', 'isoceancoupling', 'format', 'Boolean')
    143143        WriteData(fid, prefix, 'object', self, 'fieldname', 'iscoupler', 'format', 'Boolean')
Note: See TracChangeset for help on using the changeset viewer.