Changeset 23025
- Timestamp:
- 07/27/18 17:14:52 (7 years ago)
- Location:
- issm/trunk-jpl/src/m/classes
- Files:
-
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/classes/hydrologyshakti.m
r23024 r23025 1 %HYDROLOGYS OMMERSclass definition1 %HYDROLOGYSHAKTI class definition 2 2 % 3 3 % Usage: 4 % hydrologys ommers=hydrologysommers();4 % hydrologyshakti=hydrologyshakti(); 5 5 6 classdef hydrologys ommers6 classdef hydrologyshakti 7 7 properties (SetAccess=public) 8 8 head = NaN; … … 22 22 function self = extrude(self,md) % {{{ 23 23 end % }}} 24 function self = hydrologys ommers(varargin) % {{{24 function self = hydrologyshakti(varargin) % {{{ 25 25 switch nargin 26 26 case 0 … … 45 45 46 46 %Early return 47 if ~ismember('HydrologyS ommersAnalysis',analyses)47 if ~ismember('HydrologyShaktiAnalysis',analyses) 48 48 return; 49 49 end … … 63 63 end % }}} 64 64 function disp(self) % {{{ 65 disp(sprintf(' hydrologys ommerssolution parameters:'));65 disp(sprintf(' hydrologyshakti solution parameters:')); 66 66 fielddisplay(self,'head','subglacial hydrology water head (m)'); 67 67 fielddisplay(self,'gap_height','height of gap separating ice to bed (m)'); -
issm/trunk-jpl/src/m/classes/hydrologyshakti.py
r23024 r23025 3 3 from WriteData import WriteData 4 4 5 class hydrologys ommers(object):5 class hydrologyshakti(object): 6 6 """ 7 HYDROLOGYS OMMERSclass definition7 HYDROLOGYSHAKTI class definition 8 8 9 9 Usage: 10 hydrologys ommers=hydrologysommers()10 hydrologyshakti=hydrologyshakti() 11 11 """ 12 12 … … 31 31 def __repr__(self): # {{{ 32 32 33 string=' hydrologys ommerssolution parameters:'33 string=' hydrologyshakti solution parameters:' 34 34 string="%s\n%s"%(string,fielddisplay(self,'head','subglacial hydrology water head (m)')) 35 35 string="%s\n%s"%(string,fielddisplay(self,'gap_height','height of gap separating ice to bed (m)')) … … 64 64 65 65 #Early return 66 if 'HydrologyS ommersAnalysis' not in analyses:66 if 'HydrologyShaktiAnalysis' not in analyses: 67 67 return md 68 68
Note:
See TracChangeset
for help on using the changeset viewer.