Changeset 14365 for issm/trunk-jpl/src/c/classes/objects/Elements/Tria.cpp
- Timestamp:
- 02/21/13 16:03:13 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/classes/objects/Elements/Tria.cpp
r14364 r14365 1119 1119 /*Computeportion of the element that is grounded*/ 1120 1120 1121 bool mainlyfloating= false;1121 bool mainlyfloating=true; 1122 1122 IssmDouble phi,s1,s2,area_init,area_grounded; 1123 1123 IssmDouble gl[3]; … … 1138 1138 1139 1139 /*Figure out if two nodes are floating or grounded*/ 1140 if(gl[0]*gl[1]*gl[2]>0) mainlyfloating= true;1140 if(gl[0]*gl[1]*gl[2]>0) mainlyfloating=false; 1141 1141 1142 1142 if(gl[0]*gl[1]>0){ //Nodes 0 and 1 are similar, so points must be found on segment 0-2 and 1-2
Note:
See TracChangeset
for help on using the changeset viewer.