Changeset 5200


Ignore:
Timestamp:
08/12/10 12:37:27 (15 years ago)
Author:
Eric.Larour
Message:

Fixed qmuisdistributed in case string ends up in 0.
Fixed QmuSetupDesign to not distribute variables that have already been expanded.

Location:
issm/trunk/src/m/qmu
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/qmu/qmuisdistributed.m

    r2054 r5200  
    66last=string(end);
    77
    8 if ((double(last)<=57) & (double(last)>=49)),
     8if ((double(last)<=57) & (double(last)>=48)),
    99        found=1;
    1010else
  • issm/trunk/src/m/qmu/setupdesign/QmuSetupDesign.m

    r5197 r5200  
    1616%or if we just carry it forward as is.
    1717
     18%if descriptor is something like 'Thickness1','Surface10', etc ... the variable expansion already did the work, skip
     19if qmuisdistributed(descriptor),
     20        return;
     21end
     22
     23%if descriptor is more generic, like 'Thickness','RhoIce', decide whether it will get expanded.
    1824switch descriptor,
    1925case {'RhoIce','RhoWater','HeatCapacity','ThermalConductivity','Gravity'},
Note: See TracChangeset for help on using the changeset viewer.