Changeset 6124
- Timestamp:
- 10/01/10 16:51:34 (15 years ago)
- Location:
- issm/trunk/src/m
- Files:
-
- 1 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/model/structtomodel.m
r1 r6124 16 16 end 17 17 end 18 19 %some special treatment for models of previous ISSM versions 20 if isfield(structmd,'drag'), md.drag_coefficient=structmd.drag; end 21 if isfield(structmd,'p'), md.drag_p=structmd.p; end 22 if isfield(structmd,'q'), md.drag_q=structmd.p; end 23 if isfield(structmd,'B'), md.rheology_B=structmd.B; end 24 if isfield(structmd,'n'), md.rheology_n=structmd.n; end 25 if (isfield(structmd,'type') & ischar(structmd.type)), 26 if strcmpi(structmd.type,'2d'), md.dim=2; end 27 if strcmpi(structmd.type,'3d'), md.dim=3; end 28 end
Note:
See TracChangeset
for help on using the changeset viewer.