/[escript]/trunk/finley/src/CPPAdapter/MeshAdapter.cpp
ViewVC logotype

Diff of /trunk/finley/src/CPPAdapter/MeshAdapter.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3681 by caltinay, Fri Nov 18 04:54:15 2011 UTC revision 3736 by jfenwick, Mon Dec 12 01:26:51 2011 UTC
# Line 2241  void MeshAdapter::setTagMap(const string Line 2241  void MeshAdapter::setTagMap(const string
2241  {  {
2242     Finley_Mesh* mesh=m_finleyMesh.get();     Finley_Mesh* mesh=m_finleyMesh.get();
2243     Finley_Mesh_addTagMap(mesh, name.c_str(),tag);     Finley_Mesh_addTagMap(mesh, name.c_str(),tag);
2244     checkPasoError();     checkFinleyError();
2245     // throwStandardException("MeshAdapter::set TagMap is not implemented.");     // throwStandardException("MeshAdapter::set TagMap is not implemented.");
2246  }  }
2247    
# Line 2250  int MeshAdapter::getTag(const string& na Line 2250  int MeshAdapter::getTag(const string& na
2250     Finley_Mesh* mesh=m_finleyMesh.get();     Finley_Mesh* mesh=m_finleyMesh.get();
2251     int tag=0;     int tag=0;
2252     tag=Finley_Mesh_getTag(mesh, name.c_str());     tag=Finley_Mesh_getTag(mesh, name.c_str());
2253     checkPasoError();     checkFinleyError();
2254     // throwStandardException("MeshAdapter::getTag is not implemented.");     // throwStandardException("MeshAdapter::getTag is not implemented.");
2255     return tag;     return tag;
2256  }  }
# Line 2465  void MeshAdapter:: addDiracPoints(const Line 2465  void MeshAdapter:: addDiracPoints(const
2465        }        }
2466                
2467        Finley_Mesh_addPoints(mesh, numPoints, points_ptr, tags_ptr);        Finley_Mesh_addPoints(mesh, numPoints, points_ptr, tags_ptr);
2468        checkPasoError();        checkFinleyError();
2469                
2470        TMPMEMFREE(points_ptr);        TMPMEMFREE(points_ptr);
2471        TMPMEMFREE(tags_ptr);        TMPMEMFREE(tags_ptr);

Legend:
Removed from v.3681  
changed lines
  Added in v.3736

  ViewVC Help
Powered by ViewVC 1.1.26