Ignore:
Timestamp:
09/07/11 10:22:21 (14 years ago)
Author:
Mathieu Morlighem
Message:

Added qmu object

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk/src/m/qmu/examples/lrel.m ΒΆ

    r4759 r9650  
    1616nonlinear_equality_constraint;
    1717
    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);
     18md.qmu.variables=struct();
     19md.qmu.variables.nuv=normal_uncertain.empty();
     20md.qmu.variables.nuv(end+1)=normal_uncertain('RhoIce',917,45.85);
     21md.qmu.variables.nuv(end+1)=normal_uncertain('RhoWater',1023,51.15);
     22md.qmu.variables.nuv(end+1)=normal_uncertain('HeatCapacity',2009,100.45);
     23md.qmu.variables.nuv(end+1)=normal_uncertain('ThermalConductivity',2.2,0.11);
     24md.qmu.variables.nuv(end+1)=normal_uncertain('Gravity',9.8,0.49);
     25md.qmu.variables.nuv(end+1)=normal_uncertain('Thickness',1,0.05);
     26md.qmu.variables.nuv(end+1)=normal_uncertain('Drag',1,0.05);
    2727
    2828%%  a variety of responses
    2929
    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]);
     30md.qmu.responses=struct();
     31md.qmu.responses.rf =response_function.empty();
     32md.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]);
     33md.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]);
     34md.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]);
     35md.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]);
     36md.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]);
     37md.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]);
     38md.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]);
     39md.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]);
    4040
    4141%%  nond_local_reliability study
    4242
    43 md.qmu_method     =dakota_method('nond_l');
     43md.qmu.method     =dakota_method('nond_l');
    4444
    4545%%  a variety of parameters
    4646
    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;
     47md.qmu.params.evaluation_concurrency=1;
     48md.qmu.params.analysis_driver='';
     49md.qmu.params.analysis_components='';
     50md.qmu.params.interval_type='forward';
     51md.qmu.params.fd_gradient_step_size=0.01;
    5252
    53 md.npart=10;
     53md.qmu.numberofpartitions=10;
    5454
    5555md.qmu
Note: See TracChangeset for help on using the changeset viewer.