Changeset 5230
- Timestamp:
- 08/13/10 09:48:18 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/enum/EnumToModelField.m
r5228 r5230 11 11 switch enum, 12 12 13 case ThicknessEnum() : return 'thickness';14 case DragCoefficientEnum() : return 'drag_coefficient';15 otherwise, error(['Enum ' num2str(enum) ' not found associated to any model field']);13 case ThicknessEnum(), string='thickness'; return 14 case DragCoefficientEnum(), string='drag_coefficient'; return 15 otherwise, error(['Enum ' num2str(enum) ' not found associated to any model field']); 16 16 17 17 end
Note:
See TracChangeset
for help on using the changeset viewer.