Changeset 21661
- Timestamp:
- 04/05/17 10:04:51 (8 years ago)
- Location:
- issm/trunk-jpl/src/m/classes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/classes/linearbasalforcings.m
r21418 r21661 55 55 md = checkfield(md,'fieldname','basalforcings.deepwater_melting_rate','>=',0,'numel',1); 56 56 md = checkfield(md,'fieldname','basalforcings.deepwater_elevation','<','basalforcings.upperwater_elevation','numel',1); 57 md = checkfield(md,'fieldname','basalforcings.upperwater_elevation','< ',0,'numel',1);57 md = checkfield(md,'fieldname','basalforcings.upperwater_elevation','<=',0,'numel',1); 58 58 end 59 59 if ismember('ThermalAnalysis',analyses) & ~(strcmp(solution,'TransientSolution') & md.transient.isthermal==0), -
issm/trunk-jpl/src/m/classes/linearbasalforcings.py
r21303 r21661 83 83 md = checkfield(md,'fieldname','basalforcings.deepwater_melting_rate','>=',0); 84 84 md = checkfield(md,'fieldname','basalforcings.deepwater_elevation','<',md.basalforcings.upperwater_elevation); 85 md = checkfield(md,'fieldname','basalforcings.upperwater_elevation','< ',0);85 md = checkfield(md,'fieldname','basalforcings.upperwater_elevation','<=',0); 86 86 md = checkfield(md,'fieldname','basalforcings.geothermalflux','NaN',1,'Inf',1,'timeseries',1,'>=',0) 87 87
Note:
See TracChangeset
for help on using the changeset viewer.