source:
issm/oecreview/Archive/14312-15392/ISSM-14422-14423.diff
Last change on this file was 15393, checked in by , 12 years ago | |
---|---|
File size: 954 bytes |
-
../trunk-jpl/src/c/classes/objects/Elements/Tria.cpp
1123 1123 IssmDouble phi,s1,s2,area_init,area_grounded; 1124 1124 IssmDouble gl[3]; 1125 1125 IssmDouble xyz_bis[3][3]; 1126 GaussTria *gauss = NULL;1127 1126 1128 1127 /*Recover parameters and values*/ 1129 1128 GetInputListOnVertices(&gl[0],GLlevelsetEnum); … … 1206 1205 } 1207 1206 1208 1207 /*Compute fraction of grounded element*/ 1209 GetJacobianDeterminant(&area_init, xyz_list, gauss);1210 GetJacobianDeterminant(&area_grounded, &xyz_bis[0][0], gauss);1208 GetJacobianDeterminant(&area_init, xyz_list,NULL); 1209 GetJacobianDeterminant(&area_grounded, &xyz_bis[0][0],NULL); 1211 1210 if(mainlyfloating==true) area_grounded=area_init-area_grounded; 1212 1211 phi=area_grounded/area_init; 1213 1212 }
Note:
See TracBrowser
for help on using the repository browser.