/[escript]/trunk/weipa/src/weipacpp.cpp
ViewVC logotype

Diff of /trunk/weipa/src/weipacpp.cpp

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

revision 3095 by caltinay, Mon Jun 14 00:59:30 2010 UTC revision 3096 by caltinay, Thu Aug 19 01:40:52 2010 UTC
# Line 13  Line 13 
13    
14    
15  #include <weipa/FileSavers.h>  #include <weipa/FileSavers.h>
16    #include <weipa/VisItControl.h>
17    
18  #include <boost/python.hpp>  #include <boost/python.hpp>
19  #include <boost/python/module.hpp>  #include <boost/python/module.hpp>
# Line 63  BOOST_PYTHON_MODULE(weipacpp) Line 64  BOOST_PYTHON_MODULE(weipacpp)
64    docstring_options docopt(true,true,false);    docstring_options docopt(true,true,false);
65  #endif  #endif
66    
67      // File savers
68    def("_saveSilo", weipa::saveSilo, (args("filename", "cycle", "time", "domain", "datavars")));    def("_saveSilo", weipa::saveSilo, (args("filename", "cycle", "time", "domain", "datavars")));
69      def("_saveVTK", weipa::saveVTK, (args("filename", "cycle", "time", "domain", "datavars", "metadata", "metadata_schema")));
70    
71      // VisIt Control
72      def("_visitInitialize", weipa::VisItControl::initialize, (args(
73                      "simFile", "comment")));
74      def("_visitPublishData", weipa::VisItControl::publishData, (args(
75                      "cycle", "time", "domain", "datavars")));
76  }  }
77    

Legend:
Removed from v.3095  
changed lines
  Added in v.3096

  ViewVC Help
Powered by ViewVC 1.1.26