Changeset 18766
- Timestamp:
- 11/10/14 08:36:15 (10 years ago)
- Location:
- issm/trunk-jpl/src/m/classes
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/classes/calving.py
r18757 r18766 26 26 return string 27 27 #}}} 28 def defaultoutputs(self,md): # {{{29 30 return []31 32 #}}}33 28 def setdefaultparameters(self): # {{{ 34 29 -
issm/trunk-jpl/src/m/classes/calvinglevermann.m
r18757 r18766 6 6 classdef calvinglevermann 7 7 properties (SetAccess=public) 8 coeff = 0;8 coeff = NaN; 9 9 end 10 10 methods … … 37 37 end % }}} 38 38 function disp(obj) % {{{ 39 disp(sprintf(' Calving parameters:'));39 disp(sprintf(' Calving Levermann parameters:')); 40 40 fielddisplay(obj,'coeff','proportionality coefficient in Levermann model'); 41 41 -
issm/trunk-jpl/src/m/classes/model.py
r18757 r18766 16 16 from matice import matice 17 17 from calving import calving 18 from calvinglevermann import calvinglevermann 18 19 from damage import damage 19 20 from friction import friction … … 664 665 665 666 # Calving variables 666 if hasattr(md.calving,'calving'):667 if isinstance(md.calving,calving): 667 668 md.calving.calvingrate=project3d(md,'vector',md.calving.calvingrate,'type','node') 668 if hasattr(md.calving,'calvinglevermann'):669 if isinstance(md.calving,calvinglevermann): 669 670 md.calving.coeff=project3d(md,'vector',md.calving.coeff,'type','node') 670 671
Note:
See TracChangeset
for help on using the changeset viewer.