Changeset 18763
- Timestamp:
- 11/07/14 16:18:41 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/classes/transient.py
r18710 r18763 20 20 self.isdamageevolution = False 21 21 self.islevelset = False 22 self.iscalving = False 22 23 self.ishydrology = False 23 24 self.requested_outputs = [] … … 36 37 string="%s\n%s"%(string,fielddisplay(self,'isdamageevolution','indicates whether damage evolution is used in the transient')) 37 38 string="%s\n%s"%(string,fielddisplay(self,'islevelset','LEVELSET METHOD DESCRIPTION')) 39 string="%s\n%s"%(string,fielddisplay(self,'iscalving','indicates whether calving is used in the transient')) 38 40 string="%s\n%s"%(string,fielddisplay(self,'ishydrology','indicates whether an hydrology model is used')) 39 41 string="%s\n%s"%(string,fielddisplay(self,'requested_outputs','list of additional outputs requested')) … … 51 53 52 54 #Nothing done 53 self.ismasstransport = False54 self.isstressbalance = False55 self.isthermal = False56 self.isgroundingline = False57 self.isgia = False55 self.ismasstransport = False 56 self.isstressbalance = False 57 self.isthermal = False 58 self.isgroundingline = False 59 self.isgia = False 58 60 self.isdamageevolution = False 59 self.islevelset = False 60 self.ishydrology = False 61 self.islevelset = False 62 self.iscalving = False 63 self.ishydrology = False 61 64 62 65 #default output … … 74 77 self.isdamageevolution = False 75 78 self.islevelset = False 79 self.iscalving = False 76 80 self.ishydrology = False 77 81 … … 94 98 md = checkfield(md,'fieldname','transient.islevelset','numel',[1],'values',[0,1]) 95 99 md = checkfield(md,'fieldname','transient.ishydrology','numel',[1],'values',[0,1]) 100 md = checkfield(md,'fieldname','transient.iscalving','numel',[1],'values',[0,1]); 96 101 md = checkfield(md,'fieldname','transient.requested_outputs','stringrow',1) 97 102 … … 107 112 WriteData(fid,'object',self,'fieldname','islevelset','format','Boolean') 108 113 WriteData(fid,'object',self,'fieldname','ishydrology','format','Boolean') 114 WriteData(fid,'object',self,'fieldname','iscalving','format','Boolean') 109 115 110 116 #process requested outputs
Note:
See TracChangeset
for help on using the changeset viewer.