source:
issm/oecreview/Archive/14064-14311/ISSM-14098-14099.diff@
14312
Last change on this file since 14312 was 14312, checked in by , 12 years ago | |
---|---|
File size: 832 bytes |
-
../trunk-jpl/src/c/classes/objects/Vertex.cpp
196 196 /*FUNCTION Vertex::ToXYZ {{{*/ 197 197 void Vertex::ToXYZ(Matrix<IssmDouble>* matrix){ 198 198 199 int i; 200 double xyz[3]; 201 int indices[3]; 199 IssmDouble xyz[3]; 200 int indices[3]; 202 201 203 if (this->clone==true)return; 204 else{ 202 if (this->clone==true) return; 205 203 206 xyz[0]=x; xyz[1]=y; xyz[2]=z; 207 indices[0]=0;indices[1]=1; indices[2]=2; 204 xyz[0]=x; 205 xyz[1]=y; 206 xyz[2]=z; 207 indices[0]=0; 208 indices[1]=1; 209 indices[2]=2; 208 210 209 matrix->SetValues(1,&sid,3,&indices[0],&xyz[0],INS_VAL); 210 } 211 matrix->SetValues(1,&sid,3,&indices[0],&xyz[0],INS_VAL); 211 212 } 212 213 /*}}}*/
Note:
See TracBrowser
for help on using the repository browser.