/[escript]/branches/split/escriptcore/src/escriptcpp.cpp
ViewVC logotype

Diff of /branches/split/escriptcore/src/escriptcpp.cpp

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

revision 4733 by jfenwick, Mon Mar 10 04:16:07 2014 UTC revision 4734 by jfenwick, Mon Mar 10 06:38:54 2014 UTC
# Line 29  Line 29 
29  #include "EscriptParams.h"  #include "EscriptParams.h"
30  #include "TestDomain.h"  #include "TestDomain.h"
31  #include "SubWorld.h"  #include "SubWorld.h"
32  #include "WorldSplitter.h"  #include "SplitWorld.h"
33    
34  #include "esysUtils/blocktimer.h"  #include "esysUtils/blocktimer.h"
35    
# Line 183  BOOST_PYTHON_MODULE(escriptcpp) Line 183  BOOST_PYTHON_MODULE(escriptcpp)
183    // Why doesn't this have a doc-string?   Because it doesn't compile if you try to add one      // Why doesn't this have a doc-string?   Because it doesn't compile if you try to add one  
184    def("buildDomains", raw_function(escript::raw_buildDomains,2));    def("buildDomains", raw_function(escript::raw_buildDomains,2));
185                
186    class_<escript::WorldSplitter, boost::noncopyable>("WorldSplitter", "Manages a group of sub worlds", init<unsigned int>(args("num_worlds")))    class_<escript::SplitWorld, boost::noncopyable>("SplitWorld", "Manages a group of sub worlds", init<unsigned int>(args("num_worlds")))
187      .def("runJobs", &escript::WorldSplitter::runJobs, arg("tuplelist"), "Create a set of jobs and execute them on the subworlds.");      .def("runJobs", &escript::SplitWorld::runJobs, arg("tuplelist"), "Create a set of jobs and execute them on the subworlds.");
188    
189    // This class has no methods. This is deliberate - at this stage, I would like this to be an opaque type      // This class has no methods. This is deliberate - at this stage, I would like this to be an opaque type  
190    class_ <escript::SubWorld, escript::SubWorld_ptr, boost::noncopyable>("SubWorld", "Information about a group of workers.", no_init);    class_ <escript::SubWorld, escript::SubWorld_ptr, boost::noncopyable>("SubWorld", "Information about a group of workers.", no_init);

Legend:
Removed from v.4733  
changed lines
  Added in v.4734

  ViewVC Help
Powered by ViewVC 1.1.26