Changeset 9520
- Timestamp:
- 08/31/11 11:30:01 (14 years ago)
- Location:
- issm/trunk/src/m
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/classes/model.m
r9517 r9520 177 177 artificial_diffusivity = modelfield('default',0,'marshall',true,'format','Integer'); 178 178 prognostic_DG = modelfield('default',0,'marshall',true,'format','Integer'); 179 hydrostatic_adjustment = modelfield('default',0,'marshall',true,' format','Integer');179 hydrostatic_adjustment = modelfield('default',0,'marshall',true,'preprocess','StringToEnum','format','Integer'); 180 180 isprognostic = modelfield('default',0,'marshall',true,'format','Boolean'); 181 181 isdiagnostic = modelfield('default',0,'marshall',true,'format','Boolean'); … … 632 632 633 633 %Hydrostatic adjustment 634 md.hydrostatic_adjustment= AbsoluteEnum;634 md.hydrostatic_adjustment='Absolute'; 635 635 %the artificial diffusivity is used in prognostic to avoid 636 636 %numerical wiggles of the solution. -
issm/trunk/src/m/model/ismodelselfconsistent.m
r9518 r9520 175 175 message(['model not consistent: model ' md.name ' time_adapt field should be 0 or 1']); 176 176 end 177 if ~ismember(md.hydrostatic_adjustment, [AbsoluteEnum IncrementalEnum]),177 if ~ismember(md.hydrostatic_adjustment,{'Absolute' 'Incremental']), 178 178 message(['model not consistent: model ' md.name ' hydrostatic_adjustment field should be AbsoluteEnum or IncrementalEnum']); 179 179 end
Note:
See TracChangeset
for help on using the changeset viewer.