Changeset 9650 for issm/trunk/src/m/qmu/examples/lrel.m
- Timestamp:
- 09/07/11 10:22:21 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified issm/trunk/src/m/qmu/examples/lrel.m ΒΆ
r4759 r9650 16 16 nonlinear_equality_constraint; 17 17 18 md. variables=struct();19 md. variables.nuv=normal_uncertain.empty();20 md. variables.nuv(end+1)=normal_uncertain('RhoIce',917,45.85);21 md. variables.nuv(end+1)=normal_uncertain('RhoWater',1023,51.15);22 md. variables.nuv(end+1)=normal_uncertain('HeatCapacity',2009,100.45);23 md. variables.nuv(end+1)=normal_uncertain('ThermalConductivity',2.2,0.11);24 md. variables.nuv(end+1)=normal_uncertain('Gravity',9.8,0.49);25 md. variables.nuv(end+1)=normal_uncertain('Thickness',1,0.05);26 md. variables.nuv(end+1)=normal_uncertain('Drag',1,0.05);18 md.qmu.variables=struct(); 19 md.qmu.variables.nuv=normal_uncertain.empty(); 20 md.qmu.variables.nuv(end+1)=normal_uncertain('RhoIce',917,45.85); 21 md.qmu.variables.nuv(end+1)=normal_uncertain('RhoWater',1023,51.15); 22 md.qmu.variables.nuv(end+1)=normal_uncertain('HeatCapacity',2009,100.45); 23 md.qmu.variables.nuv(end+1)=normal_uncertain('ThermalConductivity',2.2,0.11); 24 md.qmu.variables.nuv(end+1)=normal_uncertain('Gravity',9.8,0.49); 25 md.qmu.variables.nuv(end+1)=normal_uncertain('Thickness',1,0.05); 26 md.qmu.variables.nuv(end+1)=normal_uncertain('Drag',1,0.05); 27 27 28 28 %% a variety of responses 29 29 30 md. responses=struct();31 md. responses.rf =response_function.empty();32 md. responses.rf (end+1)=response_function('min_vx',[],[0.0001 0.001 0.01 0.25 0.5 0.75 0.99 0.999 0.9999]);33 md. responses.rf (end+1)=response_function('max_vx',[],[0.0001 0.001 0.01 0.25 0.5 0.75 0.99 0.999 0.9999]);34 md. responses.rf (end+1)=response_function('max_abs_vx',[],[0.0001 0.001 0.01 0.25 0.5 0.75 0.99 0.999 0.9999]);35 md. responses.rf (end+1)=response_function('min_vy',[],[0.0001 0.001 0.01 0.25 0.5 0.75 0.99 0.999 0.9999]);36 md. responses.rf (end+1)=response_function('max_vy',[],[0.0001 0.001 0.01 0.25 0.5 0.75 0.99 0.999 0.9999]);37 md. responses.rf (end+1)=response_function('max_abs_vy',[],[0.0001 0.001 0.01 0.25 0.5 0.75 0.99 0.999 0.9999]);38 md. responses.rf (end+1)=response_function('min_vel',[],[0.0001 0.001 0.01 0.25 0.5 0.75 0.99 0.999 0.9999]);39 md. responses.rf (end+1)=response_function('max_vel',[],[0.0001 0.001 0.01 0.25 0.5 0.75 0.99 0.999 0.9999]);30 md.qmu.responses=struct(); 31 md.qmu.responses.rf =response_function.empty(); 32 md.qmu.responses.rf (end+1)=response_function('min_vx',[],[0.0001 0.001 0.01 0.25 0.5 0.75 0.99 0.999 0.9999]); 33 md.qmu.responses.rf (end+1)=response_function('max_vx',[],[0.0001 0.001 0.01 0.25 0.5 0.75 0.99 0.999 0.9999]); 34 md.qmu.responses.rf (end+1)=response_function('max_abs_vx',[],[0.0001 0.001 0.01 0.25 0.5 0.75 0.99 0.999 0.9999]); 35 md.qmu.responses.rf (end+1)=response_function('min_vy',[],[0.0001 0.001 0.01 0.25 0.5 0.75 0.99 0.999 0.9999]); 36 md.qmu.responses.rf (end+1)=response_function('max_vy',[],[0.0001 0.001 0.01 0.25 0.5 0.75 0.99 0.999 0.9999]); 37 md.qmu.responses.rf (end+1)=response_function('max_abs_vy',[],[0.0001 0.001 0.01 0.25 0.5 0.75 0.99 0.999 0.9999]); 38 md.qmu.responses.rf (end+1)=response_function('min_vel',[],[0.0001 0.001 0.01 0.25 0.5 0.75 0.99 0.999 0.9999]); 39 md.qmu.responses.rf (end+1)=response_function('max_vel',[],[0.0001 0.001 0.01 0.25 0.5 0.75 0.99 0.999 0.9999]); 40 40 41 41 %% nond_local_reliability study 42 42 43 md.qmu _method =dakota_method('nond_l');43 md.qmu.method =dakota_method('nond_l'); 44 44 45 45 %% a variety of parameters 46 46 47 md.qmu _params.evaluation_concurrency=1;48 md.qmu _params.analysis_driver='';49 md.qmu _params.analysis_components='';50 md.qmu _params.interval_type='forward';51 md.qmu _params.fd_gradient_step_size=0.01;47 md.qmu.params.evaluation_concurrency=1; 48 md.qmu.params.analysis_driver=''; 49 md.qmu.params.analysis_components=''; 50 md.qmu.params.interval_type='forward'; 51 md.qmu.params.fd_gradient_step_size=0.01; 52 52 53 md. npart=10;53 md.qmu.numberofpartitions=10; 54 54 55 55 md.qmu
Note:
See TracChangeset
for help on using the changeset viewer.