/[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 2420 by gross, Wed Apr 15 03:52:38 2009 UTC revision 2421 by gross, Thu May 14 02:29:06 2009 UTC
# Line 1512  void MeshAdapter::saveDX(const std::stri Line 1512  void MeshAdapter::saveDX(const std::stri
1512  //  //
1513  // saves mesh and optionally data arrays in VTK format  // saves mesh and optionally data arrays in VTK format
1514  //  //
1515  void MeshAdapter::saveVTK(const std::string& filename,const boost::python::dict& arg) const  void MeshAdapter::saveVTK(const std::string& filename,const boost::python::dict& arg,  const std::string& metadata, const std::string& metadata_schema) const
1516  {  {
1517     int num_data;     int num_data;
1518     char **names;     char **names;
# Line 1520  void MeshAdapter::saveVTK(const std::str Line 1520  void MeshAdapter::saveVTK(const std::str
1520     escriptDataC **ptr_data;     escriptDataC **ptr_data;
1521    
1522     extractArgsFromDict(arg, num_data, names, data, ptr_data);     extractArgsFromDict(arg, num_data, names, data, ptr_data);
1523     Finley_Mesh_saveVTK(filename.c_str(), m_finleyMesh.get(), num_data, names, ptr_data);     Finley_Mesh_saveVTK(filename.c_str(), m_finleyMesh.get(), num_data, names, ptr_data, metadata.c_str(), metadata_schema.c_str());
1524     checkFinleyError();     checkFinleyError();
1525    
1526     /* win32 refactor */     /* win32 refactor */

Legend:
Removed from v.2420  
changed lines
  Added in v.2421

  ViewVC Help
Powered by ViewVC 1.1.26