Changeset 24562
- Timestamp:
- 02/08/20 09:27:49 (5 years ago)
- Location:
- issm/trunk-jpl/src/m/classes
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/classes/frictionjosh.m
r21600 r24562 41 41 42 42 %Check that temperature is provided 43 md = checkfield(md,'fieldname','initialization.temperature','NaN',1,'Inf',1,'size', [md.mesh.numberofvertices 1]);43 md = checkfield(md,'fieldname','initialization.temperature','NaN',1,'Inf',1,'size','universal'); 44 44 end % }}} 45 45 function disp(self) % {{{ -
issm/trunk-jpl/src/m/classes/initialization.m
r24132 r24562 75 75 end 76 76 md = checkfield(md,'fieldname','initialization.pressure','NaN',1,'Inf',1,'size',[md.mesh.numberofvertices 1]); 77 md = checkfield(md,'fieldname','initialization.temperature','NaN',1,'Inf',1,'size', [md.mesh.numberofvertices 1]);77 md = checkfield(md,'fieldname','initialization.temperature','NaN',1,'Inf',1,'size','universal'); 78 78 end 79 79 if (ismember('EnthalpyAnalysis',analyses) & md.thermal.isenthalpy) 80 md = checkfield(md,'fieldname','initialization.waterfraction','>=',0,'size', [md.mesh.numberofvertices 1]);81 md = checkfield(md,'fieldname','initialization.watercolumn' ,'>=',0,'size', [md.mesh.numberofvertices 1]);80 md = checkfield(md,'fieldname','initialization.waterfraction','>=',0,'size','universal'); 81 md = checkfield(md,'fieldname','initialization.watercolumn' ,'>=',0,'size','universal'); 82 82 pos=find(md.initialization.waterfraction>0.); 83 83 if(~isempty(pos)), -
issm/trunk-jpl/src/m/classes/thermal.m
r24140 r24562 93 93 md = checkfield(md,'fieldname','thermal.watercolumn_upperlimit','>=',0); 94 94 95 %Make sure the spc are less than melting point 95 %Make sure the spc are less than melting point (Josh commented out the next 2 lines) 96 96 TEMP=md.thermal.spctemperature(1:md.mesh.numberofvertices,:); 97 97 replicate=repmat(md.geometry.surface-md.mesh.z,1,size(md.thermal.spctemperature,2));
Note:
See TracChangeset
for help on using the changeset viewer.