source: issm/oecreview/Archive/27032-27229/ISSM-27132-27133.diff@ 27230

Last change on this file since 27230 was 27230, checked in by Mathieu Morlighem, 3 years ago

CHG: oecreview

File size: 1.4 KB
RevLine 
[27230]1Index: ../trunk-jpl/test/NightlyRun/test2010.m
2===================================================================
3--- ../trunk-jpl/test/NightlyRun/test2010.m (revision 27132)
4+++ ../trunk-jpl/test/NightlyRun/test2010.m (revision 27133)
5@@ -109,9 +109,9 @@
6
7 lat=md.results.TransientSolution.SealevelBarystaticIceLatbar*pi/180;
8 lon=md.results.TransientSolution.SealevelBarystaticIceLongbar*pi/180;
9-moi_xz = sum(-loadice.*areaice.*rad_e^2.*sin(lat).*cos(lat).*cos(lon));
10-moi_yz = sum(-loadice.*areaice.*rad_e^2.*sin(lat).*cos(lat).*sin(lon));
11-moi_zz = sum(-loadice.*areaice.*rad_e^2.*(-1.0/3.0+sin(lat).^2));
12+moi_xz = sum(-loadice.*rad_e^2.*sin(lat).*cos(lat).*cos(lon));
13+moi_yz = sum(-loadice.*rad_e^2.*sin(lat).*cos(lat).*sin(lon));
14+moi_zz = sum(-loadice.*rad_e^2.*(-1.0/3.0+sin(lat).^2));
15 theoretical_value_check=[moixz/moi_xz moiyz/moi_yz moizz/moi_zz]; % should yield [1.0 1.0 1.0]
16 % }}}
17
18Index: ../trunk-jpl/test/NightlyRun/test2013.m
19===================================================================
20--- ../trunk-jpl/test/NightlyRun/test2013.m (revision 27132)
21+++ ../trunk-jpl/test/NightlyRun/test2013.m (revision 27133)
22@@ -98,6 +98,7 @@
23 longbar=md.results.TransientSolution.SealevelBarystaticIceLongbar;
24 latbar=md.results.TransientSolution.SealevelBarystaticIceLatbar;
25
26+loads=loads./areas;
27
28 %Fields and tolerances to track changes
29 field_names ={'Mask', 'LoadAreas', 'SurfaceLoad', 'LoadWeights','LatitudeLoadBarycenter', 'LongitudeLoadBarycenter'};
Note: See TracBrowser for help on using the repository browser.