source: issm/oecreview/Archive/16554-17801/ISSM-17474-17475.diff@ 17802

Last change on this file since 17802 was 17802, checked in by Mathieu Morlighem, 11 years ago

Added archives

File size: 1.0 KB
RevLine 
[17802]1Index: ../trunk-jpl/src/m/boundaryconditions/SetMarineIceSheetBC.m
2===================================================================
3--- ../trunk-jpl/src/m/boundaryconditions/SetMarineIceSheetBC.m (revision 17474)
4+++ ../trunk-jpl/src/m/boundaryconditions/SetMarineIceSheetBC.m (revision 17475)
5@@ -51,7 +51,7 @@
6 md.mask.ice_levelset(find(vertexonicefront))=0;
7
8 %First find segments that are not completely on the front
9-if(md.mesh.dimension==2),
10+if ~strcmp(md.mesh.meshtype(),'3D'),
11 numbernodesfront=2;
12 else
13 numbernodesfront=4;
14Index: ../trunk-jpl/src/m/boundaryconditions/SetMarineIceSheetBC.py
15===================================================================
16--- ../trunk-jpl/src/m/boundaryconditions/SetMarineIceSheetBC.py (revision 17474)
17+++ ../trunk-jpl/src/m/boundaryconditions/SetMarineIceSheetBC.py (revision 17475)
18@@ -51,7 +51,7 @@
19 md.mask.ice_levelset[pos]=0
20
21 #First find segments that are not completely on the front
22- if md.mesh.dimension==2:
23+ if not strcmp(md.mesh.meshtype(),'3D')
24 numbernodesfront=2
25 else:
26 numbernodesfront=4
Note: See TracBrowser for help on using the repository browser.