Changeset 18559


Ignore:
Timestamp:
10/01/14 10:40:01 (10 years ago)
Author:
Mathieu Morlighem
Message:

BUG: replaced self by obj for some functions

Location:
issm/trunk-jpl/src/m/classes
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/classes/mesh2d.m

    r18558 r18559  
    3030        end
    3131        methods (Static)
    32                 function self = loadself(self) % {{{
     32                function self = loadobj(self) % {{{
    3333                        % This function is directly called by matlab when a model selfect is
    3434                        % loaded. Update old properties here
     
    3838                                oldself=self;
    3939                                %Assign property values from struct
    40                                 self=structtoself(mesh2d(),oldself)
     40                                self=structtoobj(mesh2d(),oldself)
    4141                                if isfield(oldself,'hemisphere'),
    4242                                        disp('md.mesh.hemisphere has been automatically converted to EPSG code');
  • issm/trunk-jpl/src/m/classes/mesh2dvertical.m

    r18558 r18559  
    2929        end
    3030        methods (Static)
    31                 function self = loadself(self) % {{{
     31                function self = loadobj(self) % {{{
    3232                        % This function is directly called by matlab when a model selfect is
    3333                        % loaded. Update old properties here
     
    3737                                oldself=self;
    3838                                %Assign property values from struct
    39                                 self=structtoself(mesh2dvertical(),oldself)
     39                                self=structtoobj(mesh2dvertical(),oldself)
    4040                                if isfield(oldself,'hemisphere'),
    4141                                        disp('md.mesh.hemisphere has been automatically converted to EPSG code');
  • issm/trunk-jpl/src/m/classes/mesh3dprisms.m

    r18558 r18559  
    4040        end
    4141        methods (Static)
    42                 function self = loadself(self) % {{{
     42                function self = loadobj(self) % {{{
    4343                        % This function is directly called by matlab when a model selfect is
    4444                        % loaded. Update old properties here
     
    4848                                oldself=self;
    4949                                %Assign property values from struct
    50                                 self=structtoself(mesh3dprisms(),oldself)
     50                                self=structtoobj(mesh3dprisms(),oldself)
    5151                                if isfield(oldself,'hemisphere'),
    5252                                        disp('md.mesh.hemisphere has been automatically converted to EPSG code');
  • issm/trunk-jpl/src/m/classes/mesh3dtetras.m

    r18558 r18559  
    4040        end
    4141        methods (Static)
    42                 function self = loadself(self) % {{{
     42                function self = loadobj(self) % {{{
    4343                        % This function is directly called by matlab when a model selfect is
    4444                        % loaded. Update old properties here
     
    4848                                oldself=self;
    4949                                %Assign property values from struct
    50                                 self=structtoself(mesh3dtetras(),oldself)
     50                                self=structtoobj(mesh3dtetras(),oldself)
    5151                                if isfield(oldself,'hemisphere'),
    5252                                        disp('md.mesh.hemisphere has been automatically converted to EPSG code');
Note: See TracChangeset for help on using the changeset viewer.