Changeset 1040
- Timestamp:
- 06/22/09 12:16:30 (15 years ago)
- Location:
- issm/trunk/src/m/solutions/ice
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/solutions/ice/ModelProcessorDiagnosticVert.m
r1024 r1040 90 90 grids(pos)=SetStructureField(grids(pos),'grid','z',md.z(pos)); 91 91 grids(pos)=SetStructureField(grids(pos),'grid','s',(md.z(pos)-md.bed(pos))./md.thickness(pos)); 92 grids(pos)=SetStructureField(grids(pos),'grid','surface',md.surface(pos)); 92 93 grids(pos)=SetStructureField(grids(pos),'grid','onbed',md.gridonbed(pos)); 93 94 grids(pos)=SetStructureField(grids(pos),'grid','border',bordergrids(pos)); -
issm/trunk/src/m/solutions/ice/ModelProcessorMelting.m
r1024 r1040 87 87 grids(pos)=SetStructureField(grids(pos),'grid','z',md.z(pos)); 88 88 grids(pos)=SetStructureField(grids(pos),'grid','s',(md.z(pos)-md.bed(pos))./md.thickness(pos)); 89 grids(pos)=SetStructureField(grids(pos),'grid','surface',md.surface(pos)); 89 90 grids(pos)=SetStructureField(grids(pos),'grid','onbed',md.gridonbed(pos)); 90 91 grids(pos)=SetStructureField(grids(pos),'grid','border',bordergrids(pos)); -
issm/trunk/src/m/solutions/ice/ModelProcessorPrognostic.m
r1024 r1040 80 80 grids(pos)=SetStructureField(grids(pos),'grid','z',md.z(pos)); 81 81 grids(pos)=SetStructureField(grids(pos),'grid','s',(md.z(pos)-md.bed(pos))./md.thickness(pos)); 82 grids(pos)=SetStructureField(grids(pos),'grid','surface',md.surface(pos)); 82 83 grids(pos)=SetStructureField(grids(pos),'grid','onbed',md.gridonbed(pos)); 83 84 grids(pos)=SetStructureField(grids(pos),'grid','border',bordergrids(pos)); -
issm/trunk/src/m/solutions/ice/ModelProcessorSlopeCompute.m
r1024 r1040 80 80 grids(pos)=SetStructureField(grids(pos),'grid','z',md.z(pos)); 81 81 grids(pos)=SetStructureField(grids(pos),'grid','s',(md.z(pos)-md.bed(pos))./md.thickness(pos)); 82 grids(pos)=SetStructureField(grids(pos),'grid','surface',md.surface(pos)); 82 83 grids(pos)=SetStructureField(grids(pos),'grid','onbed',md.gridonbed(pos)); 83 84 grids(pos)=SetStructureField(grids(pos),'grid','border',bordergrids(pos)); -
issm/trunk/src/m/solutions/ice/ModelProcessorThermal.m
r1024 r1040 104 104 grids(pos)=SetStructureField(grids(pos),'grid','z',md.z(pos)); 105 105 grids(pos)=SetStructureField(grids(pos),'grid','s',(md.z(pos)-md.bed(pos))./md.thickness(pos)); 106 grids(pos)=SetStructureField(grids(pos),'grid','surface',md.surface(pos)); 106 107 grids(pos)=SetStructureField(grids(pos),'grid','onbed',md.gridonbed(pos)); 107 108 grids(pos)=SetStructureField(grids(pos),'grid','border',bordergrids(pos)); -
issm/trunk/src/m/solutions/ice/UpdateGridPosition.m
r1024 r1040 14 14 for j=1:size(count,1), 15 15 grids(count(j)).grid.z=bed(count(j))+grids(count(j)).grid.s*thickness(count(j)); 16 grids(count(j)).grid.surface=bed(count(j))+thickness(count(j)); 16 17 end 17 18 end -
issm/trunk/src/m/solutions/ice/diagnostic3d.m
r648 r1040 80 80 81 81 %Computation of pressure with Pattyn's assumptions (P=rho_ice*g*(s-z) in Pa) 82 u_g(4:6:m_dv.gridset.gsize)=md.rho_ice*md.g*(md.surface-md.z)/md.stokesreconditioning; 82 pressure=zeros(length(fem.m_dv.grids),1); 83 for i=1:length(fem.m_dv.grids), 84 pressure(i)=md.rho_ice*md.g*(fem.m_dv.grids(i).grid.surface-fem.m_dv.grids(i).grid.z)/md.stokesreconditioning; 85 end 86 u_g(4:6:m_dv.gridset.gsize)=pressure; 83 87 84 88 if fem.isstokes,
Note:
See TracChangeset
for help on using the changeset viewer.