Changeset 14099


Ignore:
Timestamp:
12/05/12 14:10:54 (12 years ago)
Author:
Mathieu Morlighem
Message:

CHG: xyz is an IssmDouble

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/classes/objects/Vertex.cpp

    r14090 r14099  
    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{
    205 
    206                 xyz[0]=x; xyz[1]=y; xyz[2]=z;
    207                 indices[0]=0;indices[1]=1; indices[2]=2;
    208 
    209                 matrix->SetValues(1,&sid,3,&indices[0],&xyz[0],INS_VAL);
    210         }
    211 }
    212 /*}}}*/
     202        if (this->clone==true) return;
     203
     204        xyz[0]=x;
     205        xyz[1]=y;
     206        xyz[2]=z;
     207        indices[0]=0;
     208        indices[1]=1;
     209        indices[2]=2;
     210
     211        matrix->SetValues(1,&sid,3,&indices[0],&xyz[0],INS_VAL);
     212}
     213/*}}}*/
Note: See TracChangeset for help on using the changeset viewer.