Changeset 27883


Ignore:
Timestamp:
08/22/23 12:53:37 (19 months ago)
Author:
musselman
Message:

Removed attribute 'icefront' from class stressbalance.py as it is depricated in the matlab version.

Location:
issm/trunk/src/m/classes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/classes/love.m

    r27347 r27883  
    4141                        % This function is directly called by matlab when a model object is
    4242                        % loaded. Update old properties here
    43                 self.min_integration_steps      = self.int_steps_per_layers;
     43
     44                        if isstruct(self),
     45                                oldself=self;
     46                                %Assign property values from struct
     47                                self=structtoobj(love(),oldself);
     48                                if isfield(oldself,'int_steps_per_layers')
     49                                        self.min_integration_steps      = self.int_steps_per_layers;
     50                                end
     51                        end
    4452                end% }}}
    4553        end
  • issm/trunk/src/m/classes/stressbalance.py

    r27035 r27883  
    3030        self.isnewton = 0
    3131        self.FSreconditioning = 0
    32         self.icefront = np.nan
     32        #self.icefront = np.nan -- no longer in use
    3333        self.maxiter = 0
    3434        self.shelf_dampening = 0
     
    5858        s += '{}\n'.format(fielddisplay(self, 'spcvy', 'y-axis velocity constraint (NaN means no constraint) [m / yr]'))
    5959        s += '{}\n'.format(fielddisplay(self, 'spcvz', 'z-axis velocity constraint (NaN means no constraint) [m / yr]'))
    60         s += '{}\n'.format(fielddisplay(self, 'icefront', 'segments on ice front list (last column 0: Air, 1: Water, 2: Ice'))
     60        #s += '{}\n'.format(fielddisplay(self, 'icefront', 'segments on ice front list (last column 0: Air, 1: Water, 2: Ice'))
    6161        s += '      MOLHO boundary conditions:\n'
    6262        s += '{}\n'.format(fielddisplay(self, 'spcvx_base', 'x-axis basal velocity constraint (NaN means no constraint) [m / yr]'))
Note: See TracChangeset for help on using the changeset viewer.