source: issm/oecreview/Archive/24684-25833/ISSM-24821-24822.diff@ 27230

Last change on this file since 27230 was 25834, checked in by Mathieu Morlighem, 4 years ago

CHG: added 24684-25833

File size: 627 bytes
RevLine 
[25834]1Index: ../trunk-jpl/src/c/classes/Elements/Tria.cpp
2===================================================================
3--- ../trunk-jpl/src/c/classes/Elements/Tria.cpp (revision 24821)
4+++ ../trunk-jpl/src/c/classes/Elements/Tria.cpp (revision 24822)
5@@ -5704,7 +5704,7 @@
6 ::GetVerticesCoordinates(&xyz_list[0][0],vertices,NUMVERTICES);
7
8 phi=this->GetGroundedPortion(&xyz_list[0][0]); //watch out, this only works because of the Thales theorem! We are in 3D, but this routine is inherently for 2D trias
9- area*=phi;
10+ area*=phi; //scale our load by the fraction of grounded area.
11 }
12
13 /*Compute ice thickness: */
Note: See TracBrowser for help on using the repository browser.