Changeset 22822 for issm/trunk/src/c/classes/Vertex.cpp
- Timestamp:
- 05/31/18 10:44:24 (7 years ago)
- Location:
- issm/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk
- Property svn:mergeinfo changed
/issm/trunk-jpl merged: 22759-22762,22764,22769-22770,22777-22780,22782,22784,22786-22787,22789,22791,22793-22818
- Property svn:mergeinfo changed
-
issm/trunk/src
- Property svn:mergeinfo changed
/issm/trunk-jpl/src merged: 22759-22760,22764,22769-22770,22777-22780,22782,22784,22786-22787,22789,22794-22795,22798-22802,22806-22808,22816-22817
- Property svn:mergeinfo changed
-
issm/trunk/src/c/classes/Vertex.cpp
r21341 r22822 32 32 this->domaintype = iomodel->domaintype; 33 33 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 34 39 switch(iomodel->domaintype){ 35 40 case Domain3DEnum: … … 38 43 break; 39 44 case Domain3DsurfaceEnum: 45 _assert_(iomodel->Data("md.mesh.lat") && iomodel->Data("md.mesh.long") && iomodel->Data("md.mesh.r")); 40 46 this->latitute = iomodel->Data("md.mesh.lat")[i]; 41 47 this->longitude = iomodel->Data("md.mesh.long")[i]; … … 195 201 /*}}}*/ 196 202 int 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 }214 203 /*}}}*/ 215 204 void Vertex::UpdateClonePids(int* alltruepids){/*{{{*/
Note:
See TracChangeset
for help on using the changeset viewer.