source: issm/oecreview/Archive/25834-26739/ISSM-26082-26083.diff

Last change on this file was 26740, checked in by Mathieu Morlighem, 3 years ago

CHG: added 25834-26739

File size: 1.4 KB
  • ../trunk-jpl/src/m/classes/frictioncoulomb2.m

     
    1111                effective_pressure       = NaN;
    1212                effective_pressure_limit = 0;
    1313        end
     14        methods (Static)
     15                function self = loadobj(self) % {{{
     16                        if isstruct(self)
     17                                disp('Recovering frictioncoulomb2 from older version');
     18                                if isfield(self,'coefficient')
     19                                        self.C = self.coefficient;
     20                                end
     21                                self = structtoobj(frictioncoulomb2(),self);
     22                        end
     23                end% }}}
     24        end
    1425        methods
    1526                function self = extrude(self,md) % {{{
    1627                        self.C=project3d(md,'vector',self.C,'type','node','layer',1);
  • ../trunk-jpl/src/m/classes/model.m

     
    132132                                        md.settings.solver_residue_threshold = 1e-6;
    133133                                end
    134134                        end
    135                         %2017 April 10th
    136                         if isa(md.gia,'gia'), md.gia=giamme(); end
    137135                        %2017 May 4th
    138136                        if isa(md.amr,'double'); md.amr=amr(); end
    139137                        %2017 Aug 29th
     
    176174                                end
    177175                        end
    178176                        %2019 Dec 16
    179                         if isa(md.dsl,'double') | isempty(md.dsl.compute_fingerprints)
     177                        if isa(md.dsl,'double')
    180178                                md.dsl=dsl();
    181179                        end
    182180                        %2020 April 24
Note: See TracBrowser for help on using the repository browser.