source: issm/oecreview/Archive/16554-17801/ISSM-17582-17583.diff@ 17802

Last change on this file since 17802 was 17802, checked in by Mathieu Morlighem, 11 years ago

Added archives

File size: 860 bytes
RevLine 
[17802]1Index: ../trunk-jpl/src/c/classes/Elements/Tria.cpp
2===================================================================
3--- ../trunk-jpl/src/c/classes/Elements/Tria.cpp (revision 17582)
4+++ ../trunk-jpl/src/c/classes/Elements/Tria.cpp (revision 17583)
5@@ -1327,7 +1327,7 @@
6 bool grounded = true;
7
8 /* Get node coordinates and dof list: */
9- ::GetVerticesCoordinates(&xyz_list[0][0],vertices,NUMVERTICES);
10+ ::GetVerticesCoordinates(xyz_list,vertices,NUMVERTICES);
11
12 /*Retrieve all inputs we will be needing: */
13 Input* pressure_input=inputs->GetInput(PressureEnum); _assert_(pressure_input);
14@@ -1336,7 +1336,7 @@
15
16 _error_("STOP");
17
18- for(i=0;i<NUMVERTICES;i++){
19+ for(int i=0;i<NUMVERTICES;i++){
20 if(grounded) vertexgrounded->SetValue(vertices[i]->Pid(),+1.,INS_VAL);
21 else vertexfloating->SetValue(vertices[i]->Pid(),+1.,INS_VAL);
22 }
Note: See TracBrowser for help on using the repository browser.