Changeset 25981
- Timestamp:
- 02/04/21 15:49:51 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/examples/UncertaintyQuantification/runme.m
r25923 r25981 1 %PIG Uncertainty Quantification Application1 %PIG Uncertainty Quantification Tutorial 2 2 steps=[1]; 3 3 … … 115 115 md.qmu.mass_flux_profile_directory='./MassFluxes/'; 116 116 117 % %sampling analysis117 %sampling analysis 118 118 md.qmu.method =dakota_method('nond_samp'); 119 119 md.qmu.method(end) =dmeth_params_set(... … … 124 124 ); %random or lhs 125 125 126 % %a variety of parameters126 %a variety of parameters 127 127 md.qmu.params.direct=true; 128 128 md.qmu.params.analysis_driver=''; … … 136 136 md.verbose=verbose(0); 137 137 138 %Here, we choose to run with 4 processors, 3 for D AKOTA138 %Here, we choose to run with 4 processors, 3 for Dakota 139 139 % while one serves as the master 140 140 md.cluster=generic('name',oshostname,'np',4); … … 226 226 md.stressbalance.restol=10^-5; %tighten for qmu analyses 227 227 228 %Here, we choose to run with 2 processors, 1 for D AKOTA228 %Here, we choose to run with 2 processors, 1 for Dakota 229 229 % while one serves as the master 230 230 md.cluster=generic('name',oshostname,'np',2); … … 250 250 md = loadmodel('./Models/PIG.Sampling'); 251 251 252 plotmodel(md,'data','mesh','partition edges','on',...252 plotmodel(md,'data','mesh','partition',partition,... 253 253 'linewidth',2, 'axis#all','image','unit','km','colorbar','off',... 254 254 'title','Partition Edges on ISSM mesh','grid','on'); … … 301 301 302 302 %To plot importance factors 303 ifa=importancefactors(md,'scaled_FrictionCoefficient',['indexed_MassFlux_' num2str(index)] );304 ifb=importancefactors(md,'scaled_MaterialsRheologyB',['indexed_MassFlux_' num2str(index)] );305 ifh=importancefactors(md,'scaled_Thickness',['indexed_MassFlux_' num2str(index)] );303 ifa=importancefactors(md,'scaled_FrictionCoefficient',['indexed_MassFlux_' num2str(index)],partition); 304 ifb=importancefactors(md,'scaled_MaterialsRheologyB',['indexed_MassFlux_' num2str(index)],partition); 305 ifh=importancefactors(md,'scaled_Thickness',['indexed_MassFlux_' num2str(index)],partition); 306 306 307 307 plotmodel(md,'data',ifh,'data',ifa,'data',ifb,'expdisp#all',...
Note:
See TracChangeset
for help on using the changeset viewer.