Changeset 20331
- Timestamp:
- 03/22/16 14:32:42 (9 years ago)
- Location:
- issm/trunk-jpl/src/m/psl
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/psl/shlm.m
r19369 r20331 15 15 16 16 sh_lm = zeros((lMax+1)^2,1); 17 %sh_lm = zeros(1,(lMax+1)^2);18 17 19 18 % weighted area integration over the unit sphere 20 19 for l=0:lMax 21 20 for m=-l:l 22 %func0 = sh(:,1+p).*(func<1);23 21 func0 = sh(:,1+p).*func; 24 22 sh_lm(1+p) = sum(mean(func0(index),2).*areas); … … 26 24 end 27 25 end 28 %sh_lm = sh_lm/sum(areas);29 26 sh_lm = sh_lm*4*pi/sum(areas); 30 27 -
issm/trunk-jpl/src/m/psl/shlm_element.m
r19369 r20331 25 25 end 26 26 sh_lm = sh_lm*4*pi/sum(areas); 27 28
Note:
See TracChangeset
for help on using the changeset viewer.