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

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

NEW: adding Archive/14312-15392 for oecreview

File size: 954 bytes
  • ../trunk-jpl/src/c/classes/objects/Elements/Tria.cpp

     
    11231123        IssmDouble         phi,s1,s2,area_init,area_grounded;
    11241124        IssmDouble         gl[3];
    11251125        IssmDouble         xyz_bis[3][3];
    1126         GaussTria         *gauss = NULL;
    11271126
    11281127        /*Recover parameters and values*/
    11291128        GetInputListOnVertices(&gl[0],GLlevelsetEnum);
     
    12061205                }
    12071206
    12081207                /*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);
    12111210                if(mainlyfloating==true) area_grounded=area_init-area_grounded;
    12121211                phi=area_grounded/area_init;
    12131212        }
Note: See TracBrowser for help on using the repository browser.