/[escript]/branches/domexper/dudley/src/CPPAdapter/dudleycpp.cpp
ViewVC logotype

Diff of /branches/domexper/dudley/src/CPPAdapter/dudleycpp.cpp

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

temp/finley/src/CPPAdapter/finleycpp.cpp revision 1387 by trankine, Fri Jan 11 07:45:26 2008 UTC trunk/finley/src/CPPAdapter/finleycpp.cpp revision 1800 by ksteube, Thu Sep 18 05:28:20 2008 UTC
# Line 15  Line 15 
15    
16  #ifdef PASO_MPI  #ifdef PASO_MPI
17  #include <mpi.h>  #include <mpi.h>
18    #include "paso/Paso_MPI.h"
19  #endif  #endif
20  extern "C" {  extern "C" {
21  #include "../Finley.h"  #include "../Finley.h"
# Line 146  BOOST_PYTHON_MODULE(finleycpp) Line 147  BOOST_PYTHON_MODULE(finleycpp)
147        .def("getDescription",&finley::MeshAdapter::getDescription)        .def("getDescription",&finley::MeshAdapter::getDescription)
148        .def("getDim",&finley::MeshAdapter::getDim)        .def("getDim",&finley::MeshAdapter::getDim)
149        .def("getDataShape",&finley::MeshAdapter::getDataShape)        .def("getDataShape",&finley::MeshAdapter::getDataShape)
150          .def("getNumDataPointsGlobal",&finley::MeshAdapter::getNumDataPointsGlobal)
151        .def("addPDEToSystem",&finley::MeshAdapter::addPDEToSystem)        .def("addPDEToSystem",&finley::MeshAdapter::addPDEToSystem)
152        .def("addPDEToLumpedSystem",&finley::MeshAdapter::addPDEToLumpedSystem)        .def("addPDEToLumpedSystem",&finley::MeshAdapter::addPDEToLumpedSystem)
153        .def("addPDEToRHS",&finley::MeshAdapter::addPDEToRHS)        .def("addPDEToRHS",&finley::MeshAdapter::addPDEToRHS)
# Line 164  BOOST_PYTHON_MODULE(finleycpp) Line 166  BOOST_PYTHON_MODULE(finleycpp)
166        .def("isValidTagName",&finley::MeshAdapter::isValidTagName)        .def("isValidTagName",&finley::MeshAdapter::isValidTagName)
167        .def("showTagNames",&finley::MeshAdapter::showTagNames)        .def("showTagNames",&finley::MeshAdapter::showTagNames)
168        .def("getMPISize",&finley::MeshAdapter::getMPISize)        .def("getMPISize",&finley::MeshAdapter::getMPISize)
169        .def("getMPIRank",&finley::MeshAdapter::getMPIRank);        .def("getMPIRank",&finley::MeshAdapter::getMPIRank)
170          .def("getMPIComm",&finley::MeshAdapter::getMPIComm);
171    
172    class_<finley::SystemMatrixAdapter, bases<escript::AbstractSystemMatrix> >    class_<finley::SystemMatrixAdapter, bases<escript::AbstractSystemMatrix> >
173        ("OperatorAdapter",no_init)        ("OperatorAdapter",no_init)
# Line 175  BOOST_PYTHON_MODULE(finleycpp) Line 178  BOOST_PYTHON_MODULE(finleycpp)
178        .def("saveHB",&finley::SystemMatrixAdapter::saveHB);        .def("saveHB",&finley::SystemMatrixAdapter::saveHB);
179    
180    class_<finley::TransportProblemAdapter, bases<escript::AbstractTransportProblem> >    class_<finley::TransportProblemAdapter, bases<escript::AbstractTransportProblem> >
181        ("OperatorAdapter",no_init)        ("TransportProblemAdapter",no_init)
182          .def("getSafeTimeStepSize",&finley::TransportProblemAdapter::getSafeTimeStepSize)
183        .def("resetTransport",&finley::TransportProblemAdapter::resetTransport);        .def("resetTransport",&finley::TransportProblemAdapter::resetTransport);
   
   
   
   
184  }  }

Legend:
Removed from v.1387  
changed lines
  Added in v.1800

  ViewVC Help
Powered by ViewVC 1.1.26