Changeset 21935


Ignore:
Timestamp:
08/10/17 14:57:59 (8 years ago)
Author:
Mathieu Morlighem
Message:

CHG: allow to change friction and timestepping

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

Legend:

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

    r21743 r21935  
    3131                                case 0
    3232                                        self=setdefaultparameters(self);
     33                                case 1
     34                                        self=structtoobj(friction(),varargin{1});
    3335                                otherwise
    3436                                        error('constructor not supported');
  • issm/trunk-jpl/src/m/classes/timestepping.m

    r21787 r21935  
    1616                                case 0
    1717                                        self=setdefaultparameters(self);
     18                                case 1
     19                                        self=structtoobj(timestepping(),varargin{1});
    1820                                otherwise
    1921                                        error('constructor not supported');
Note: See TracChangeset for help on using the changeset viewer.