Changeset 13241


Ignore:
Timestamp:
09/04/12 14:53:42 (13 years ago)
Author:
Mathieu Morlighem
Message:

CHG: getting rid of EnumToModelField, which has not been working for almost a year

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk-jpl/src/m/qmu/sensitivities.m ΒΆ

    r9650 r13241  
    4242
    4343        %ipick up the variable in the model
    44         variable=md.(EnumToModelField(StringToEnum(variablename)));
     44        switch variablename,
     45                case 'thickness', variable = md.geometry.thickness;
     46                otherwise, error(['scaled variable ' variablename  ' not associated to any model field']);
     47        end
    4548
    4649        %average it onto the partition
Note: See TracChangeset for help on using the changeset viewer.