source:
issm/oecreview/Archive/12678-13393/ISSM-13238-13239.diff
Last change on this file was 13394, checked in by , 13 years ago | |
---|---|
File size: 2.2 KB |
-
u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/src/m/classes/oldclasses/materials.m
1 %OLD materials class definition 2 3 classdef materials 4 properties (SetAccess=public) 5 rho_ice = 0.; 6 rho_water = 0.; 7 rho_freshwater = 0.; 8 mu_water = 0.; 9 heatcapacity = 0.; 10 latentheat = 0.; 11 thermalconductivity = 0.; 12 meltingpoint = 0.; 13 beta = 0.; 14 mixed_layer_capacity = 0.; 15 thermal_exchange_velocity = 0.; 16 rheology_B = NaN; 17 rheology_n = NaN; 18 rheology_law = ''; 19 end 20 end -
u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/src/m/classes/oldclasses/README
1 We put here all old classes so that matlab can still load old models 2 When an object is renamed or deleted, matlab is not able to load it 3 anymore. We keep it here so that matlab can load the object -
u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/src/m/classes/model/model.m
71 71 disp('Recovering model object from a previous version'); 72 72 md = structtomodel(model,md); 73 73 end 74 75 %2012 August 4th 76 if isa(md.materials,'materials'), 77 disp('Recovering old materials'); 78 md.materials=matice(md.materials); 79 end 80 74 81 end% }}} 75 82 end 76 83 methods
Note:
See TracBrowser
for help on using the repository browser.