Changeset 27404
- Timestamp:
- 11/21/22 08:28:07 (2 years ago)
- Location:
- issm/trunk-jpl/src/m/classes
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/classes/SMBcomponents.m
r27403 r27404 6 6 classdef SMBcomponents 7 7 properties (SetAccess=public) 8 accumulation = NaN; 9 runoff = NaN; 10 evaporation = NaN; 11 steps_per_step = 1; 12 averaging = 0; 13 requested_outputs = {}; 14 isclimatology; 8 accumulation = NaN; 9 runoff = NaN; 10 evaporation = NaN; 11 steps_per_step = 1; 12 averaging = 0; 13 requested_outputs = {}; 15 14 end 16 15 methods -
issm/trunk-jpl/src/m/classes/SMBcomponents.py
r27403 r27404 21 21 self.averaging = 0 22 22 self.requested_outputs = [] 23 self.isclimatology = np.nan24 23 25 24 nargs = len(args) -
issm/trunk-jpl/src/m/classes/SMBforcing.m
r27403 r27404 10 10 requested_outputs = {}; 11 11 averaging = 0; 12 isclimatology;13 12 end 14 13 methods … … 16 15 switch nargin 17 16 case 0 18 17 self=setdefaultparameters(self); 19 18 case 1 20 19 inputstruct=varargin{1}; … … 92 91 93 92 end % }}} 93 function self = setdefaultparameters(self) % {{{ 94 95 %output default: 96 self.requested_outputs={'default'}; 97 98 end % }}} 94 99 end 95 100 end -
issm/trunk-jpl/src/m/classes/SMBforcing.py
r27403 r27404 19 19 self.requested_outputs = [] 20 20 self.averaging = 0 21 self.isclimatology = np.nan22 21 23 22 nargs = len(args) -
issm/trunk-jpl/src/m/classes/SMBgemb.m
r27236 r27404 14 14 15 15 %solution choices 16 isgraingrowth; 17 isalbedo; 18 isshortwave; 19 isthermal; 20 isaccumulation; 21 ismelt; 22 isdensification; 23 isturbulentflux; 24 isconstrainsurfaceT; 25 isclimatology; 26 isdeltaLWup; 16 isgraingrowth = 0; 17 isalbedo = 0; 18 isshortwave = 0; 19 isthermal = 0; 20 isaccumulation = 0; 21 ismelt = 0; 22 isdensification = 0; 23 isturbulentflux = 0; 24 isconstrainsurfaceT = 0; 25 isdeltaLWup = 0; 27 26 28 27 %inputs: -
issm/trunk-jpl/src/m/classes/SMBgemb.py
r27236 r27404 22 22 23 23 #solution choices 24 self.isgraingrowth = 025 self.isalbedo = 026 self.isshortwave = 027 self.isthermal = 028 self.isaccumulation = 029 self.ismelt = 030 self.isdensification = 031 self.isturbulentflux = 024 self.isgraingrowth = 0 25 self.isalbedo = 0 26 self.isshortwave = 0 27 self.isthermal = 0 28 self.isaccumulation = 0 29 self.ismelt = 0 30 self.isdensification = 0 31 self.isturbulentflux = 0 32 32 self.isconstrainsurfaceT = 0 33 self.isdeltaLWup = 0 34 self.isclimatology = np.nan 33 self.isdeltaLWup = 0 35 34 36 35 # Inputs -
issm/trunk-jpl/src/m/classes/SMBmeltcomponents.m
r27403 r27404 13 13 averaging = 0; 14 14 requested_outputs= {}; 15 isclimatology;16 15 end 17 16 methods -
issm/trunk-jpl/src/m/classes/SMBmeltcomponents.py
r27403 r27404 15 15 16 16 def __init__(self, *args): # {{{ 17 self.accumulation = np.nan18 self.evaporation = np.nan19 self.melt = np.nan20 self.refreeze = np.nan21 self.steps_per_step = 122 self.averaging = 017 self.accumulation = np.nan 18 self.evaporation = np.nan 19 self.melt = np.nan 20 self.refreeze = np.nan 21 self.steps_per_step = 1 22 self.averaging = 0 23 23 self.requested_outputs = [] 24 self.isclimatology = np.nan25 24 26 25 if len(args) == 0:
Note:
See TracChangeset
for help on using the changeset viewer.