Changeset 23969 for issm/trunk-jpl/src/m/classes/hydrologyglads.m
- Timestamp:
- 05/31/19 11:17:36 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/classes/hydrologyglads.m
r23955 r23969 19 19 %Other 20 20 spcphi = NaN; 21 moulin_input = NaN; 22 neumannflux = NaN; 21 23 englacial_void_ratio = 0.; 22 moulin_input = NaN;23 24 requested_outputs = {}; 24 25 end … … 75 76 md = checkfield(md,'fieldname','hydrology.englacial_void_ratio','numel',[1],'>=',0); 76 77 md = checkfield(md,'fieldname','hydrology.moulin_input','size',[md.mesh.numberofvertices 1],'>=',0,'NaN',1,'Inf',1); 78 md = checkfield(md,'fieldname','hydrology.neumannflux','timeseries',1,'NaN',1,'Inf',1); 77 79 md = checkfield(md,'fieldname','hydrology.requested_outputs','stringrow',1); 78 80 end % }}} … … 89 91 disp(sprintf(' OTHER')); 90 92 fielddisplay(self,'spcphi','Hydraulic potential Dirichlet constraints [Pa]'); 93 fielddisplay(self,'neumannflux','water flux applied along the model boundary (m^2/s)'); 94 fielddisplay(self,'moulin_input','moulin input (Q_s) [m^3/s]'); 91 95 fielddisplay(self,'englacial_void_ratio','englacial void ratio (e_v)'); 92 fielddisplay(self,'moulin_input','moulin input (Q_s) [m^3/s]');93 96 fielddisplay(self,'requested_outputs','additional outputs requested'); 94 97 end % }}} … … 113 116 %Others 114 117 WriteData(fid,prefix,'object',self,'class','hydrology','fieldname','spcphi','format','DoubleMat','mattype',1,'timeserieslength',md.mesh.numberofvertices+1,'yts',md.constants.yts); 118 WriteData(fid,prefix,'object',self,'class','hydrology','fieldname','neumannflux','format','DoubleMat','mattype',2,'timeserieslength',md.mesh.numberofelements+1,'yts',md.constants.yts); 119 WriteData(fid,prefix,'object',self,'class','hydrology','fieldname','moulin_input','format','DoubleMat','mattype',1); 115 120 WriteData(fid,prefix,'object',self,'class','hydrology','fieldname','englacial_void_ratio','format','Double'); 116 WriteData(fid,prefix,'object',self,'class','hydrology','fieldname','moulin_input','format','DoubleMat','mattype',1);117 121 outputs = self.requested_outputs; 118 122 pos = find(ismember(outputs,'default'));
Note:
See TracChangeset
for help on using the changeset viewer.