Changeset 23621


Ignore:
Timestamp:
01/10/19 07:13:42 (6 years ago)
Author:
sjohnsen
Message:

CHG: enable FrictionCoupling flag 4

File:
1 edited

Legend:

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

    r22861 r23621  
    2424                                        self.effective_pressure=project3d(md,'vector',self.effective_pressure,'type','node','layer',1);
    2525                                case 4
    26                                         error('not implemented yet');
     26                                        self.effective_pressure=project3d(md,'vector',self.effective_pressure,'type','node','layer',1);
    2727                                otherwise
    2828                                        error('not supported yet');             
     
    6161                                        md = checkfield(md,'fieldname','friction.effective_pressure','NaN',1,'Inf',1,'timeseries',1);
    6262                                case 4
    63                                         error('not implemented yet');
     63                               
    6464                                otherwise
    6565                                        error('not supported yet');             
     
    7272                        fielddisplay(self,'q','q exponent');
    7373                        fielddisplay(self,'effective_pressure','Effective Pressure for the forcing if not coupled [Pa]');
    74                         fielddisplay(self,'coupling','Coupling flag 0: uniform sheet (negative pressure ok, default), 1: ice pressure only, 2: water pressure assuming uniform sheet (no negative pressure), 3: use provided effective_pressure, 4: used coupled model (not implemented yet)');
     74                        fielddisplay(self,'coupling','Coupling flag 0: uniform sheet (negative pressure ok, default), 1: ice pressure only, 2: water pressure assuming uniform sheet (no negative pressure), 3: use provided effective_pressure, 4: use coupled model (not implemented yet)');
    7575                end % }}}
    7676                function marshall(self,prefix,md,fid) % {{{
     
    8989                                        WriteData(fid,prefix,'class','friction','object',self,'fieldname','effective_pressure','format','DoubleMat','mattype',1,'timeserieslength',md.mesh.numberofvertices+1,'yts',md.constants.yts);
    9090                                case 4
    91                                         error('not implemented yet');
     91                                        WriteData(fid,prefix,'class','friction','object',self,'fieldname','effective_pressure','format','DoubleMat','mattype',1,'timeserieslength',md.mesh.numberofvertices+1,'yts',md.constants.yts);
    9292                                otherwise
    9393                                        error('not supported yet');             
Note: See TracChangeset for help on using the changeset viewer.