Changeset 18216
- Timestamp:
- 07/02/14 09:26:48 (11 years ago)
- Location:
- issm/trunk-jpl/src/m
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/classes/inversion.m
r18169 r18216 206 206 WriteData(fid,'object',obj,'fieldname','vy_obs','format','DoubleMat','mattype',1,'scale',1./yts); 207 207 WriteData(fid,'object',obj,'fieldname','vz_obs','format','DoubleMat','mattype',1,'scale',1./yts); 208 WriteData(fid,'object',obj,'fieldname','thickness_obs','format','DoubleMat','mattype',1); 208 if(numel(obj.thickness_obs)==md.mesh.numberofelements), 209 mattype=2; 210 else 211 mattype=1; 212 end 213 WriteData(fid,'object',obj,'class','inversion','fieldname','thickness_obs','format','DoubleMat','mattype',mattype); 214 209 215 210 216 %process control parameters -
issm/trunk-jpl/src/m/classes/model.m
r18166 r18216 552 552 % 553 553 % Example: 554 % md=extrude(md, 8,3);555 % md=extrude(md, 8,3,2);554 % md=extrude(md,15,1.3); 555 % md=extrude(md,15,1.3,1.2); 556 556 % md=extrude(md,[0 0.2 0.5 0.7 0.9 0.95 1]); 557 557 % -
issm/trunk-jpl/src/m/classes/model.py
r18077 r18216 462 462 463 463 Example: 464 md=extrude(md,8,3)465 md=extrude(md,8,3,2)466 464 md=extrude(md,15,1.3); 465 md=extrude(md,15,1.3,1.2); 466 md=extrude(md,[0 0.2 0.5 0.7 0.9 0.95 1]) 467 467 468 468 See also: MODELEXTRACT, COLLAPSE -
issm/trunk-jpl/src/m/extrusion/project2d.m
r17686 r18216 2 2 %PROJECT2D - returns the value of a field for a given layer of the mesh 3 3 % 4 % project 'value' vector taken at layer 'layer' from extruded 2d-3d mesh onto 2d mesh 5 % used to do the extrusion. This routine is used to compare values between a 2d-3d mesh 6 % at a certain layer, and the equivalent value (if it exists), on the original 2d mesh. 7 % This routine relies heavily on projections (contained in 3d model md) recored during 8 % the extrude operation. 4 % returns the value of a vector for a given layer from extruded mesh onto the 2d mesh 5 % used to do the extrusion. This function is used to compare values between different 6 % layers of a 3d mesh. 9 7 % 10 8 % Usage: … … 12 10 % 13 11 % Example: 14 % vel2=project2d(md3d,md3d.vel,2); 12 % vel2=project2d(md3d,md3d.initialization.vel,2); 13 % returns the velocity of the second layer (1 is the base) 15 14 16 15 %some checks on list of arguments -
issm/trunk-jpl/src/m/extrusion/project2d.py
r17840 r18216 5 5 returns the value of a field for a given layer of the mesh 6 6 7 project 'value' vector taken at layer 'layer' from extruded 2d-3d8 mesh onto 2d mesh used to do the extrusion. This routine is used to9 compare values between a 2d-3d mesh at a certain layer, and the10 equivalent value (if it exists), on the original 2d mesh.11 7 12 Note: for consistency with usage in ISSM, layers are indexed starting 13 from one. This routine accounts for the fact that python indexes from 14 zero. In other words, when using this function consider the bottom 15 layer as layer=1. 8 returns the value of a vector for a given layer from extruded mesh onto the 2d mesh 9 used to do the extrusion. This function is used to compare values between different 10 layers of a 3d mesh. 16 11 17 12 Usage: … … 19 14 20 15 Example: 21 vel2=project2d(md3d,md3d.vel,2) 16 vel2=project2d(md3d,md3d.initialization.vel,2); 17 returns the velocity of the second layer (1 is the base) 22 18 ''' 23 19
Note:
See TracChangeset
for help on using the changeset viewer.