Changeset 6121


Ignore:
Timestamp:
10/01/10 15:36:58 (15 years ago)
Author:
Eric.Larour
Message:

some logic to do cross version model loading

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/classes/@model/structtomodel.m

    r1 r6121  
    1616        end
    1717end
     18
     19%some special treatment
     20if isfield(structmd,'drag'), md.drag_coefficient=structmd.drag; end
     21if isfield(structmd,'p'), md.drag_p=structmd.p; end
     22if isfield(structmd,'q'), md.drag_q=structmd.p; end
     23if isfield(structmd,'type'),
     24        if strcmpi(structmd.type,'2d'), md.dim=2; end
     25        if strcmpi(structmd.type,'3d'), md.dim=3; end
     26end
Note: See TracChangeset for help on using the changeset viewer.