Changeset 21460
- Timestamp:
- 01/02/17 21:41:30 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/classes/slr.js
r21331 r21460 25 25 this.tide_love_k=0.3055; //degree 2 26 26 27 //secular fluid love number: 28 this.fluid_love=0.942; 29 30 //moment of inertia: 31 this.equatorial_moi=8.0077*10^37; // [kg m^2] 32 this.polar_moi =8.0345*10^37; // [kg m^2] 33 27 34 // mean rotational velocity of earth: 28 35 this.angular_velocity=7.2921*10^-5; // [s^-1] … … 50 57 md = checkfield(md,'fieldname','slr.tide_love_h','NaN',1,'Inf',1); 51 58 md = checkfield(md,'fieldname','slr.tide_love_k','NaN',1,'Inf',1); 59 md = checkfield(md,'fieldname','slr.fluid_love','NaN',1,'Inf',1); 60 md = checkfield(md,'fieldname','slr.equatorial_moi','NaN',1,'Inf',1); 61 md = checkfield(md,'fieldname','slr.polar_moi','NaN',1,'Inf',1); 52 62 md = checkfield(md,'fieldname','slr.angular_velocity','NaN',1,'Inf',1); 53 63 md = checkfield(md,'fieldname','slr.reltol','size',[1, 1]); … … 83 93 fielddisplay(this,'tide_love_h','tidal love number (degree 2)'); 84 94 fielddisplay(this,'tide_love_k','tidal love number (degree 2)'); 95 fielddisplay(this,'fluid_love','secular fluid Love number'); 96 fielddisplay(this,'equatorial_moi','mean equatorial moment of inertia [kg m^2]'); 97 fielddisplay(this,'polar_moi','polar moment of inertia [kg m^2]'); 85 98 fielddisplay(this,'angular_velocity','mean rotational velocity of earth [per second]'); 86 99 fielddisplay(this,'rigid','rigid earth graviational potential perturbation'); … … 104 117 WriteData(fid,prefix,'object',this,'fieldname','tide_love_h','format','Double'); 105 118 WriteData(fid,prefix,'object',this,'fieldname','tide_love_k','format','Double'); 119 WriteData(fid,prefix,'object',this,'fieldname','fluid_love','format','Double'); 120 WriteData(fid,prefix,'object',this,'fieldname','equatorial_moi','format','Double'); 121 WriteData(fid,prefix,'object',this,'fieldname','polar_moi','format','Double'); 106 122 WriteData(fid,prefix,'object',this,'fieldname','angular_velocity','format','Double'); 107 123 WriteData(fid,prefix,'object',this,'fieldname','rigid','format','Boolean'); … … 134 150 this.tide_love_h=NullFix(this.tide_love_h,NaN); 135 151 this.tide_love_k=NullFix(this.tide_love_k,NaN); 152 this.fluid_love=NullFix(this.fluid_love,NaN); 153 this.equatorial_moi=NullFix(this.equatorial_moi,NaN); 154 this.polar_moi=NullFix(this.polar_moi,NaN); 136 155 this.angular_velocity=NullFix(this.angular_velocity,NaN); 137 156 this.rigid=NullFix(this.rigid,NaN); … … 153 172 this.tide_love_h = 0; 154 173 this.tide_love_k = 0; 174 this.fluid_love = 0; 175 this.equatorial_moi = 0; 176 this.polar_moi = 0; 155 177 this.angular_velocity = 0; 156 178 this.rigid = 0;
Note:
See TracChangeset
for help on using the changeset viewer.