Changeset 22352 for issm/trunk-jpl/src/m/classes/esa.py
- Timestamp:
- 01/14/18 14:25:11 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/classes/esa.py
r22122 r22352 18 18 self.love_h = 0 #provided by PREM model() 19 19 self.love_l = 0 #ideam 20 self.hemisphere = 0 20 21 self.degacc = 0 21 22 self.requested_outputs = [] … … 30 31 string="%s\n%s"%(string,fielddisplay(self,'love_h','load Love number for radial displacement')) 31 32 string="%s\n%s"%(string,fielddisplay(self,'love_l','load Love number for horizontal displaements')) 33 string="%s\n%s"%(string,fielddisplay(self,'hemisphere','North-south, East-west components of 2-D horiz displacement vector: -1 south, 1 north')) 32 34 string="%s\n%s"%(string,fielddisplay(self,'degacc','accuracy (default .01 deg) for numerical discretization of the Green''s functions')) 33 35 string="%s\n%s"%(string,fielddisplay(self,'transitions','indices into parts of the mesh that will be icecaps')) … … 40 42 #numerical discretization accuracy 41 43 self.degacc=.01 42 44 45 #computational flags: 46 self.hemisphere=0; 47 43 48 #output default: 44 49 self.requested_outputs=['default'] … … 60 65 md = checkfield(md,'fieldname','esa.love_h','NaN',1,'Inf',1) 61 66 md = checkfield(md,'fieldname','esa.love_l','NaN',1,'Inf',1) 67 md = checkfield(md,'fieldname','esa.hemisphere','NaN',1,'Inf',1) 62 68 md = checkfield(md,'fieldname','esa.degacc','size',[1,1],'>=',1e-10) 63 69 md = checkfield(md,'fieldname','esa.requested_outputs','stringrow',1) … … 75 81 WriteData(fid,prefix,'object',self,'fieldname','love_h','format','DoubleMat','mattype',1) 76 82 WriteData(fid,prefix,'object',self,'fieldname','love_l','format','DoubleMat','mattype',1) 83 WriteData(fid,prefix,'object',self,'fieldname','hemisphere','format','Integer') 77 84 WriteData(fid,prefix,'object',self,'fieldname','degacc','format','Double') 78 85 WriteData(fid,prefix,'object',self,'fieldname','transitions','format','MatArray')
Note:
See TracChangeset
for help on using the changeset viewer.