source: issm/oecreview/Archive/14312-15392/ISSM-14422-14423.diff@ 15393

Last change on this file since 15393 was 15393, checked in by Mathieu Morlighem, 12 years ago

NEW: adding Archive/14312-15392 for oecreview

File size: 954 bytes
RevLine 
[15393]1Index: ../trunk-jpl/src/c/classes/objects/Elements/Tria.cpp
2===================================================================
3--- ../trunk-jpl/src/c/classes/objects/Elements/Tria.cpp (revision 14422)
4+++ ../trunk-jpl/src/c/classes/objects/Elements/Tria.cpp (revision 14423)
5@@ -1123,7 +1123,6 @@
6 IssmDouble phi,s1,s2,area_init,area_grounded;
7 IssmDouble gl[3];
8 IssmDouble xyz_bis[3][3];
9- GaussTria *gauss = NULL;
10
11 /*Recover parameters and values*/
12 GetInputListOnVertices(&gl[0],GLlevelsetEnum);
13@@ -1206,8 +1205,8 @@
14 }
15
16 /*Compute fraction of grounded element*/
17- GetJacobianDeterminant(&area_init, xyz_list,gauss);
18- GetJacobianDeterminant(&area_grounded, &xyz_bis[0][0],gauss);
19+ GetJacobianDeterminant(&area_init, xyz_list,NULL);
20+ GetJacobianDeterminant(&area_grounded, &xyz_bis[0][0],NULL);
21 if(mainlyfloating==true) area_grounded=area_init-area_grounded;
22 phi=area_grounded/area_init;
23 }
Note: See TracBrowser for help on using the repository browser.