Rev | Line | |
---|
[17802] | 1 | Index: ../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;
|
---|
| 14 | Index: ../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.