Changeset 17446
- Timestamp:
- 03/17/14 10:44:24 (11 years ago)
- Location:
- issm/trunk-jpl/src/c/classes/Elements
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/classes/Elements/Penta.cpp
r17413 r17446 2912 2912 /*If the level set has always same sign, there is no ice front here*/ 2913 2913 iszerols = false; 2914 if(IsIceInElement()){ 2915 if(ls[0]*ls[1]<0. || ls[0]*ls[2]<0. || (ls[0]*ls[1]+ls[0]*ls[2]+ls[1]*ls[2]==0.)){ 2916 iszerols = true; 2917 } 2914 if(ls[0]*ls[1]<0. || ls[0]*ls[2]<0. || (ls[0]*ls[1]*ls[2]==0. && ls[0]*ls[1]+ls[0]*ls[2]+ls[1]*ls[2]<=0.)){ 2915 iszerols = true; 2918 2916 } 2919 2917 return iszerols; -
issm/trunk-jpl/src/c/classes/Elements/Tria.cpp
r17414 r17446 2347 2347 /*If the level set is awlays <0, there is no ice front here*/ 2348 2348 iszerols= false; 2349 if(IsIceInElement()){ 2350 if(ls[0]*ls[1]<0. || ls[0]*ls[2]<0. || (ls[0]*ls[1]+ls[0]*ls[2]+ls[1]*ls[2]==0.)){ 2351 iszerols= true; 2352 } 2349 if(ls[0]*ls[1]<0. || ls[0]*ls[2]<0. || (ls[0]*ls[1]*ls[2]==0. && ls[0]*ls[1]+ls[0]*ls[2]+ls[1]*ls[2]<=0.)){ 2350 iszerols = true; 2353 2351 } 2354 2352
Note:
See TracChangeset
for help on using the changeset viewer.