Last change
on this file since 16134 was 16134, checked in by Mathieu Morlighem, 12 years ago |
Added Archive/15392-16133
|
File size:
700 bytes
|
Rev | Line | |
---|
[16134] | 1 | Index: ../trunk-jpl/src/m/boundaryconditions/SetMarineIceSheetBC.py
|
---|
| 2 | ===================================================================
|
---|
| 3 | --- ../trunk-jpl/src/m/boundaryconditions/SetMarineIceSheetBC.py (revision 15797)
|
---|
| 4 | +++ ../trunk-jpl/src/m/boundaryconditions/SetMarineIceSheetBC.py (revision 15798)
|
---|
| 5 | @@ -55,7 +55,7 @@
|
---|
| 6 | else:
|
---|
| 7 | numbernodesfront=4
|
---|
| 8 | segmentsfront=numpy.nonzeros(md.mask.icelevelset(md.mesh.segments[:,0:-1]))
|
---|
| 9 | - segments=numpy.sum(segmentsfront,axis=1)!=numbernodesfront).astype(int)
|
---|
| 10 | + segments=(numpy.sum(segmentsfront,axis=1)!=numbernodesfront).astype(int)
|
---|
| 11 | #Find all nodes for these segments and spc them
|
---|
| 12 | pos=md.mesh.segments[segments,0:-1]
|
---|
| 13 | md.stressbalance.spcvx[pos[:]]=0
|
---|
Note:
See
TracBrowser
for help on using the repository browser.