Changeset 4993
- Timestamp:
- 08/04/10 19:42:13 (15 years ago)
- Location:
- issm/trunk/test/Verification/test29_MassFlux
- Files:
-
- 3 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/test/Verification/test29_MassFlux/Lrel29.m
r4956 r4993 9 9 md.responses.rf (end+1)=response_function('MassFlux2',[],[0.0001 0.001 0.01 0.25 0.5 0.75 0.99 0.999 0.9999]); 10 10 md.responses.rf (end+1)=response_function('MassFlux3',[],[0.0001 0.001 0.01 0.25 0.5 0.75 0.99 0.999 0.9999]); 11 md.responses.rf (end+1)=response_function('MassFlux4',[],[0.0001 0.001 0.01 0.25 0.5 0.75 0.99 0.999 0.9999]); 12 md.responses.rf (end+1)=response_function('MassFlux5',[],[0.0001 0.001 0.01 0.25 0.5 0.75 0.99 0.999 0.9999]); 13 md.responses.rf (end+1)=response_function('MassFlux6',[],[0.0001 0.001 0.01 0.25 0.5 0.75 0.99 0.999 0.9999]); 11 14 12 15 %mass flux profiles 13 md.qmu_mass_flux_profiles={'MassFlux1.exp','MassFlux2.exp','MassFlux3.exp' };16 md.qmu_mass_flux_profiles={'MassFlux1.exp','MassFlux2.exp','MassFlux3.exp','MassFlux4.exp','MassFlux5.exp','MassFlux6.exp'}; 14 17 md.qmu_mass_flux_profile_directory=pwd; 15 18 -
issm/trunk/test/Verification/test29_MassFlux/README
r4980 r4993 1 1 Qmu sensitivity analysis on MassFlux response. 2 MassFlux1, Massflux2 and Massflux3 are 3 sides of a triangle. MassFlux1 + MassFlux2 should be equal to MassFlux3 3 MassFlux4 to 6 are circles, 10,100 and 1000 grids, .4,.3 and .2 radius. Mass flux for thoses circlyes should be 0. -
issm/trunk/test/Verification/test29_MassFlux/length_profiles.m
r4956 r4993 1 for i=1:3, 2 a=md.qmu_mass_flux_segments{i}; 3 %sum(sqrt((a(:,3)-a(:,1)).^2+ (a(:,4)-a(:,2)).^2)) 4 [sum(a(:,3)-a(:,1)) sum(a(:,4)-a(:,2))] 1 num=2; 2 3 4 if num==1, 5 for i=1:length(md.qmu_mass_flux_segments), 6 a=md.qmu_mass_flux_segments{i}; 7 %sum(sqrt((a(:,3)-a(:,1)).^2+ (a(:,4)-a(:,2)).^2)) 8 [sum(a(:,3)-a(:,1)) sum(a(:,4)-a(:,2))] 9 end 5 10 end 11 12 13 if num==2, 14 hold on; 15 %for i=1:length(md.qmu_mass_flux_segments), 16 for i=4:length(md.qmu_mass_flux_segments), 17 a=md.qmu_mass_flux_segments{i}; 18 for j=1:length(a), 19 plot([a(j,1) a(j,3)],[a(j,2) a(j,4)]); 20 end 21 end 22 end -
issm/trunk/test/Verification/test29_MassFlux/testpostsolve.m
r4957 r4993 6 6 %also, check that the stddev are 0. 7 7 8 md.results.dakota.importancefactors=[md.results.dakota.dresp_out(1).mean md.results.dakota.dresp_out(2).mean md.results.dakota.dresp_out(3).mean md.results.dakota.dresp_out(4).mean ... 9 md.results.dakota.dresp_out(1).stddev md.results.dakota.dresp_out(2).stddev md.results.dakota.dresp_out(3).stddev md.results.dakota.dresp_out(4).stddev]; 8 md.results.dakota.importancefactors=[]; 9 for i=1:7, 10 md.results.dakota.importancefactors=[md.results.dakota.importancefactors md.results.dakota.dresp_out(i).mean]; 11 end 12 for i=1:7, 13 md.results.dakota.importancefactors=[md.results.dakota.importancefactors md.results.dakota.dresp_out(i).stddev]; 14 end
Note:
See TracChangeset
for help on using the changeset viewer.