source: issm/oecreview/Archive/14064-14311/ISSM-14098-14099.diff@ 14312

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

Added 14064-14311

File size: 832 bytes
  • ../trunk-jpl/src/c/classes/objects/Vertex.cpp

     
    196196/*FUNCTION Vertex::ToXYZ {{{*/
    197197void  Vertex::ToXYZ(Matrix<IssmDouble>* matrix){
    198198
    199         int i;
    200         double xyz[3];
    201         int    indices[3];
     199        IssmDouble xyz[3];
     200        int        indices[3];
    202201       
    203         if (this->clone==true)return;
    204         else{
     202        if (this->clone==true) return;
    205203
    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;
    208210
    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);
    211212}
    212213/*}}}*/
Note: See TracBrowser for help on using the repository browser.