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

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

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

revision 5504 by jfenwick, Wed Mar 4 22:58:13 2015 UTC revision 5505 by jfenwick, Wed Mar 4 23:05:47 2015 UTC
# Line 151  BOOST_PYTHON_MODULE(escriptcpp) Line 151  BOOST_PYTHON_MODULE(escriptcpp)
151      .def("runJobs", &escript::SplitWorld::runJobs, "Execute pending jobs.")      .def("runJobs", &escript::SplitWorld::runJobs, "Execute pending jobs.")
152      .def("removeVariable", &escript::SplitWorld::removeVariable, arg("name"), "Remove the named variable from the SplitWorld")      .def("removeVariable", &escript::SplitWorld::removeVariable, arg("name"), "Remove the named variable from the SplitWorld")
153      .def("clearVariable", &escript::SplitWorld::clearVariable, arg("name"), "Remove the value from the named variable")      .def("clearVariable", &escript::SplitWorld::clearVariable, arg("name"), "Remove the value from the named variable")
154      .def("getDoubleVariable", &escript::SplitWorld::getScalarVariable);      .def("getDoubleVariable", &escript::SplitWorld::getScalarVariable)
155        .def("getNumWords", &escript::SplitWorld::getWorldCount);
156            
157    // 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  
158      // Does anyone actually need to have one of these?
159    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);
160  /* end SubWorld things */  /* end SubWorld things */
161        

Legend:
Removed from v.5504  
changed lines
  Added in v.5505

  ViewVC Help
Powered by ViewVC 1.1.26