/[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 1313 by ksteube, Tue Sep 25 01:44:26 2007 UTC revision 1364 by gross, Mon Dec 17 07:22:45 2007 UTC
# Line 21  Line 21 
21  #include "AbstractDomain.h"  #include "AbstractDomain.h"
22  #include "Utils.h"  #include "Utils.h"
23  #include "AbstractSystemMatrix.h"  #include "AbstractSystemMatrix.h"
24    #include "AbstractTransportProblem.h"
25  #include "DataVector.h"  #include "DataVector.h"
26    
27  extern "C" {  extern "C" {
# Line 318  BOOST_PYTHON_MODULE(escriptcpp) Line 319  BOOST_PYTHON_MODULE(escriptcpp)
319       .def("saveHB",&escript::AbstractSystemMatrix::saveHB)       .def("saveHB",&escript::AbstractSystemMatrix::saveHB)
320       .def("resetValues",&escript::AbstractSystemMatrix::resetValues)       .def("resetValues",&escript::AbstractSystemMatrix::resetValues)
321       .def(self*other<escript::Data>());       .def(self*other<escript::Data>());
322      //
323      // Interface for AbstractTransportProblem
324      //
325      class_<escript::AbstractTransportProblem>("TransportProblem",init<>())
326         .def("isEmpty",&escript::AbstractTransportProblem::isEmpty)
327         .def("solve",&escript::AbstractTransportProblem::solve)
328         .def("setInitalValue",&escript::AbstractTransportProblem::setInitialValue)
329         .def("resetTransport",&escript::AbstractTransportProblem::resetTransport);
330    
331    //    //
332    // Register esysExceptionTranslator    // Register esysExceptionTranslator

Legend:
Removed from v.1313  
changed lines
  Added in v.1364

  ViewVC Help
Powered by ViewVC 1.1.26