Changeset 20500 for issm/trunk/src/m/classes/steadystate.m
- Timestamp:
- 04/12/16 21:32:01 (9 years ago)
- Location:
- issm/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk
- Property svn:ignore
-
old new 1 build-js 2 build-esmf 3 build-gcm 1 4 build-fw 2 5 build-ad
-
- Property svn:mergeinfo changed
/issm/trunk-jpl merged: 19104,19106-19126,19128-19134,19136-19170,19172-19299,19302,19306-19405,19407-19604,19606-19668,19670-20496
- Property svn:ignore
-
issm/trunk/src
- Property svn:mergeinfo changed
-
issm/trunk/src/m/classes/steadystate.m
r19105 r20500 11 11 end 12 12 methods 13 function createxml(self,fid) % {{{14 fprintf(fid, '<!-- steadystate -->\n');15 16 % steadystate solution parameters17 fprintf(fid,'%s\n%s\n%s\n','<frame key="1" label="steadystate solution parameters">','<section name="steadystate" />');18 fprintf(fid,'%s%s%s%s%s\n%s\n%s\n%s\n',' <parameter key ="reltol" type="',class(self.reltol),'" default="',convert2str(self.reltol),'">',' <section name="steadystate" />',' <help> relative tolerance criterion [K] </help>',' </parameter>');19 fprintf(fid,'%s%s%s%s%s\n%s\n%s\n%s\n',' <parameter key ="maxiter" type="',class(self.maxiter),'" default="',convert2str(self.maxiter),'">',' <section name="steadystate" />',' <help> maximum number of iterations </help>',' </parameter>');20 fprintf(fid,'%s%s%s%s%s\n%s\n%s\n%s\n',' <parameter key ="requested_outputs" type="',class(self.requested_outputs),'" default="',convert2str(self.requested_outputs),'">',' <section name="steadystate" />',' <help> additional requested outputs </help>',' </parameter>');21 fprintf(fid,'%s\n%s\n','</frame>');22 23 end % }}}24 13 function self = steadystate(varargin) % {{{ 25 14 switch nargin … … 80 69 WriteData(fid,'data',outputs,'enum',SteadystateRequestedOutputsEnum,'format','StringArray'); 81 70 end % }}} 71 function savemodeljs(self,fid,modelname) % {{{ 72 73 writejsdouble(fid,[modelname '.steadystate.reltol'],self.reltol); 74 writejsdouble(fid,[modelname '.steadystate.maxiter'],self.maxiter); 75 writejscellstring(fid,[modelname '.steadystate.requested_outputs'],self.requested_outputs); 76 77 end % }}} 82 78 end 83 79 end
Note:
See TracChangeset
for help on using the changeset viewer.