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

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

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

revision 1796 by jfenwick, Wed Sep 17 01:45:46 2008 UTC revision 1805 by ksteube, Wed Sep 24 23:39:00 2008 UTC
# Line 23  Line 23 
23  #include "AbstractSystemMatrix.h"  #include "AbstractSystemMatrix.h"
24  #include "AbstractTransportProblem.h"  #include "AbstractTransportProblem.h"
25  #include "DataVector.h"  #include "DataVector.h"
26    #include "paso/Paso_MPI.h"
27    
28  extern "C" {  extern "C" {
29  #include "escript/blocktimer.h"  #include "escript/blocktimer.h"
# Line 85  BOOST_PYTHON_MODULE(escriptcpp) Line 86  BOOST_PYTHON_MODULE(escriptcpp)
86    def("blocktimer_time",blocktimer_time);    def("blocktimer_time",blocktimer_time);
87    def("getVersion",escript::getSvnVersion);    def("getVersion",escript::getSvnVersion);
88    def("printParallelThreadCounts",escript::printParallelThreadCnt);    def("printParallelThreadCounts",escript::printParallelThreadCnt);
89      def("getMPISizeWorld",escript::getMPISizeWorld);
90      def("getMPIRankWorld",escript::getMPIRankWorld);
91    
92    
93    //    //
# Line 96  BOOST_PYTHON_MODULE(escriptcpp) Line 99  BOOST_PYTHON_MODULE(escriptcpp)
99       .def("isValidTagName",&escript::AbstractDomain::isValidTagName)       .def("isValidTagName",&escript::AbstractDomain::isValidTagName)
100       .def("showTagNames",&escript::AbstractDomain::showTagNames)       .def("showTagNames",&escript::AbstractDomain::showTagNames)
101       .def("getX",&escript::AbstractDomain::getX)       .def("getX",&escript::AbstractDomain::getX)
102         .def("getDim",&escript::AbstractDomain::getDim)
103       .def("getNormal",&escript::AbstractDomain::getNormal)       .def("getNormal",&escript::AbstractDomain::getNormal)
104       .def("getSize",&escript::AbstractDomain::getSize)       .def("getSize",&escript::AbstractDomain::getSize)
105       .def("saveVTK",&escript::AbstractDomain::saveVTK)       .def("saveVTK",&escript::AbstractDomain::saveVTK)
# Line 160  BOOST_PYTHON_MODULE(escriptcpp) Line 164  BOOST_PYTHON_MODULE(escriptcpp)
164      .def("expand",&escript::Data::expand)      .def("expand",&escript::Data::expand)
165      .def("tag",&escript::Data::tag)      .def("tag",&escript::Data::tag)
166      .def("copy",&escript::Data::copy)      .def("copy",&escript::Data::copy)
167        .def("copy",&escript::Data::copySelf,return_value_policy<manage_new_object>())
168      .def("setValueOfDataPoint",&escript::Data::setValueOfDataPointToPyObject)      .def("setValueOfDataPoint",&escript::Data::setValueOfDataPointToPyObject)
169      .def("setValueOfDataPoint",&escript::Data::setValueOfDataPointToArray)      .def("setValueOfDataPoint",&escript::Data::setValueOfDataPointToArray)
170      .def("setValueOfDataPoint",&escript::Data::setValueOfDataPoint)      .def("setValueOfDataPoint",&escript::Data::setValueOfDataPoint)

Legend:
Removed from v.1796  
changed lines
  Added in v.1805

  ViewVC Help
Powered by ViewVC 1.1.26