/[escript]/trunk/escript/src/Data/Data.cpp
ViewVC logotype

Diff of /trunk/escript/src/Data/Data.cpp

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

revision 151 by jgs, Thu Sep 22 01:55:00 2005 UTC revision 153 by jgs, Tue Oct 25 01:51:20 2005 UTC
# Line 25  Line 25 
25  #include <functional>  #include <functional>
26  #include <math.h>  #include <math.h>
27    
28    #include <boost/python/dict.hpp>
29  #include <boost/python/str.hpp>  #include <boost/python/str.hpp>
30  #include <boost/python/extract.hpp>  #include <boost/python/extract.hpp>
31  #include <boost/python/long.hpp>  #include <boost/python/long.hpp>
# Line 1263  Data::calc_mindp(int& SampleNo, Line 1264  Data::calc_mindp(int& SampleNo,
1264  void  void
1265  Data::saveDX(std::string fileName) const  Data::saveDX(std::string fileName) const
1266  {  {
1267    getDomain().saveDX(fileName,*this);    boost::python::dict args;
1268      args["data"]=boost::python::object(this);
1269      getDomain().saveDX(fileName,args);
1270    return;    return;
1271  }  }
1272    
1273  void  void
1274  Data::saveVTK(std::string fileName) const  Data::saveVTK(std::string fileName) const
1275  {  {
1276    getDomain().saveVTK(fileName,*this);    boost::python::dict args;
1277      args["data"]=boost::python::object(this);
1278      getDomain().saveVTK(fileName,args);
1279    return;    return;
1280  }  }
1281    

Legend:
Removed from v.151  
changed lines
  Added in v.153

  ViewVC Help
Powered by ViewVC 1.1.26