- Timestamp:
- 04/25/13 15:59:57 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/shared/Elements/GetVerticesCoordinates.cpp
r12475 r14763 5 5 #include "./elements.h" 6 6 7 void GetVerticesCoordinates(IssmDouble* xyz, Node** nodes, int numvertices){7 void GetVerticesCoordinates(IssmDouble* xyz,Vertex** vertices, int numvertices){ 8 8 9 /*In debugging mode, check that nodes is not a NULL pointer*/10 _assert_( nodes);9 _assert_(vertices); 10 _assert_(xyz); 11 11 12 12 for(int i=0;i<numvertices;i++) { 13 xyz[i*3+0]= nodes[i]->GetX();14 xyz[i*3+1]= nodes[i]->GetY();15 xyz[i*3+2]= nodes[i]->GetZ();13 xyz[i*3+0]=vertices[i]->GetX(); 14 xyz[i*3+1]=vertices[i]->GetY(); 15 xyz[i*3+2]=vertices[i]->GetZ(); 16 16 } 17 17 }
Note:
See TracChangeset
for help on using the changeset viewer.