Changeset 23944
- Timestamp:
- 05/29/19 10:44:01 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/classes/initialization.m
r23740 r23944 6 6 classdef initialization 7 7 properties (SetAccess=public) 8 vx = NaN; 9 vy = NaN; 10 vz = NaN; 11 vel = NaN; 12 pressure = NaN; 13 temperature = NaN; 14 enthalpy = NaN; 15 waterfraction = NaN; 16 sediment_head = NaN; 17 epl_head = NaN; 18 epl_thickness = NaN; 19 watercolumn = NaN; 8 vx = NaN; 9 vy = NaN; 10 vz = NaN; 11 vel = NaN; 12 pressure = NaN; 13 temperature = NaN; 14 enthalpy = NaN; 15 waterfraction = NaN; 16 sediment_head = NaN; 17 epl_head = NaN; 18 epl_thickness = NaN; 19 watercolumn = NaN; 20 hydraulic_potential = NaN; 20 21 end 21 22 methods … … 89 90 end 90 91 end 92 if ismember('HydrologyGlaDSAnalysis',analyses), 93 if isa(md.hydrology,'hydrologyglads'), 94 md = checkfield(md,'fieldname','initialization.watercolumn','NaN',1,'Inf',1,'size',[md.mesh.numberofvertices 1]); 95 md = checkfield(md,'fieldname','initialization.hydraulic_potential','NaN',1,'Inf',1,'size',[md.mesh.numberofvertices 1]); 96 end 97 end 91 98 if ismember('HydrologyDCInefficientAnalysis',analyses), 92 99 if isa(md.hydrology,'hydrologydc'), … … 117 124 fielddisplay(self,'epl_head','epl water head of subglacial system [m]'); 118 125 fielddisplay(self,'epl_thickness','epl layer thickness [m]'); 119 fielddisplay(self,'watercolumn','thickness of subglacial water [m]'); 126 fielddisplay(self,'watercolumn','subglacial water sheet thickness (for Shreve and GlaDS) [m]'); 127 fielddisplay(self,'hydraulic_potential','Hydraulic potential (for GlaDS) [Pa]'); 120 128 121 129 end % }}} … … 134 142 WriteData(fid,prefix,'object',self,'fieldname','epl_thickness','format','DoubleMat','mattype',1); 135 143 WriteData(fid,prefix,'object',self,'fieldname','watercolumn','format','DoubleMat','mattype',1); 144 WriteData(fid,prefix,'object',self,'fieldname','hydraulic_potential','format','DoubleMat','mattype',1); 136 145 137 146 if md.thermal.isenthalpy, … … 162 171 writejs1Darray(fid,[modelname '.initialization.epl_thickness'],self.epl_thickness); 163 172 writejs1Darray(fid,[modelname '.initialization.watercolumn'],self.watercolumn); 173 writejs1Darray(fid,[modelname '.initialization.hydraulic_potential'],self.hydraulic_potential); 164 174 165 175 end % }}}
Note:
See TracChangeset
for help on using the changeset viewer.