Ignore:
Timestamp:
05/31/18 10:44:24 (7 years ago)
Author:
Mathieu Morlighem
Message:

merged trunk-jpl and trunk for revision 22820

Location:
issm/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk

  • issm/trunk/src

  • issm/trunk/src/c/classes/Vertex.cpp

    r21341 r22822  
    3232        this->domaintype     = iomodel->domaintype;
    3333
     34        if(iomodel->Data("md.mesh.lat") && iomodel->Data("md.mesh.long")){
     35                this->latitute     = iomodel->Data("md.mesh.lat")[i];
     36                this->longitude    = iomodel->Data("md.mesh.long")[i];
     37        }
     38
    3439        switch(iomodel->domaintype){
    3540                case Domain3DEnum:
     
    3843                        break;
    3944                case Domain3DsurfaceEnum:
     45                        _assert_(iomodel->Data("md.mesh.lat") && iomodel->Data("md.mesh.long") && iomodel->Data("md.mesh.r"));
    4046                        this->latitute     = iomodel->Data("md.mesh.lat")[i];
    4147                        this->longitude    = iomodel->Data("md.mesh.long")[i];
     
    195201/*}}}*/
    196202int        Vertex::Sid(void){ return sid; }/*{{{*/
    197 /*}}}*/
    198 void       Vertex::ToXYZ(Matrix<IssmDouble>* matrix){/*{{{*/
    199 
    200         IssmDouble xyz[3];
    201         int        indices[3];
    202 
    203         if (this->clone==true) return;
    204 
    205         xyz[0]=x;
    206         xyz[1]=y;
    207         xyz[2]=z;
    208         indices[0]=0;
    209         indices[1]=1;
    210         indices[2]=2;
    211 
    212         matrix->SetValues(1,&sid,3,&indices[0],&xyz[0],INS_VAL);
    213 }
    214203/*}}}*/
    215204void       Vertex::UpdateClonePids(int* alltruepids){/*{{{*/
Note: See TracChangeset for help on using the changeset viewer.