Changeset 19195
- Timestamp:
- 03/16/15 10:21:09 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/classes/frictionhydro.m
r19152 r19195 32 32 md = checkfield(md,'fieldname','friction.C','NaN',1,'size',[md.mesh.numberofelements 1]); 33 33 md = checkfield(md,'fieldname','friction.As','NaN',1,'size',[md.mesh.numberofelements 1]); 34 if self.Coupling==0, 35 md = checkfield(md,'fieldname','friction.effective_pressure','NaN',1,'timeseries',1); 36 end 34 37 end % }}} 35 38 function self = extrude(self,md) % {{{ … … 37 40 self.C=project3d(md,'vector',self.C,'type','element'); 38 41 self.As=project3d(md,'vector',self.As,'type','element'); 39 if self.Coupling== 1,42 if self.Coupling==0, 40 43 self.effective_pressure=project3d(md,'vector',self.effective_pressure,'type','node','layer',1); 41 44 end
Note:
See TracChangeset
for help on using the changeset viewer.