Changeset 26011
- Timestamp:
- 02/20/21 21:21:20 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/classes/transient.py
r25961 r26011 22 22 self.ismovingfront = 0 23 23 self.ishydrology = 0 24 self.issampling = 0 24 25 self.isslc = 0 25 26 self.iscoupler = 0 … … 43 44 s += '{}\n'.format(fielddisplay(self, 'ismovingfront', 'indicates whether a moving front capability is used in the transient')) 44 45 s += '{}\n'.format(fielddisplay(self, 'ishydrology', 'indicates whether an hydrology model is used')) 46 s += '{}\n'.format(fielddisplay(self, 'issampling', 'indicates whether sampling is used in the transient')) 45 47 s += '{}\n'.format(fielddisplay(self, 'isslc', 'indicates if a sea level change solution is used in the transient')) 46 48 s += '{}\n'.format(fielddisplay(self, 'isoceancoupling', 'indicates whether coupling with an ocean model is used in the transient')) … … 69 71 self.ismovingfront = 0 70 72 self.ishydrology = 0 73 self.issampling = 0 71 74 self.isslc = 0 72 75 self.isoceancoupling = 0 … … 91 94 self.ismovingfront = 0 92 95 self.ishydrology = 0 96 self.issampling = 0 93 97 self.isslc = 0 94 98 self.isoceancoupling = 0 … … 115 119 md = checkfield(md, 'fieldname', 'transient.isdamageevolution', 'numel', [1], 'values', [0, 1]) 116 120 md = checkfield(md, 'fieldname', 'transient.ishydrology', 'numel', [1], 'values', [0, 1]) 121 md = checkfield(md, 'fieldname', 'transient.issampling', 'numel', [1], 'values', [0, 1]) 117 122 md = checkfield(md, 'fieldname', 'transient.ismovingfront', 'numel', [1], 'values', [0, 1]) 118 123 md = checkfield(md, 'fieldname', 'transient.isslc', 'numel', [1], 'values', [0, 1]) … … 139 144 WriteData(fid, prefix, 'object', self, 'fieldname', 'ishydrology', 'format', 'Boolean') 140 145 WriteData(fid, prefix, 'object', self, 'fieldname', 'ismovingfront', 'format', 'Boolean') 146 WriteData(fid, prefix, 'object', self, 'fieldname', 'issampling', 'format', 'Boolean') 141 147 WriteData(fid, prefix, 'object', self, 'fieldname', 'isslc', 'format', 'Boolean') 142 148 WriteData(fid, prefix, 'object', self, 'fieldname', 'isoceancoupling', 'format', 'Boolean')
Note:
See TracChangeset
for help on using the changeset viewer.