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

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

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

revision 1338 by ksteube, Mon Oct 1 08:10:41 2007 UTC revision 1339 by ksteube, Wed Nov 7 01:53:12 2007 UTC
# Line 141  BOOST_PYTHON_MODULE(finleycpp) Line 141  BOOST_PYTHON_MODULE(finleycpp)
141        ("MeshAdapter",init<optional <Finley_Mesh*> >())        ("MeshAdapter",init<optional <Finley_Mesh*> >())
142        .def(init<const finley::MeshAdapter&>())        .def(init<const finley::MeshAdapter&>())
143        .def("write",&finley::MeshAdapter::write)        .def("write",&finley::MeshAdapter::write)
144        .def("print_mesh_info",&finley::MeshAdapter::Print_Mesh_Info)        .def("print_mesh_info",&finley::MeshAdapter::Print_Mesh_Info,(arg("full")=false))
145        .def("dump",&finley::MeshAdapter::write)        .def("dump",&finley::MeshAdapter::write)
146        .def("getDescription",&finley::MeshAdapter::getDescription)        .def("getDescription",&finley::MeshAdapter::getDescription)
147        .def("getDim",&finley::MeshAdapter::getDim)        .def("getDim",&finley::MeshAdapter::getDim)
# Line 166  BOOST_PYTHON_MODULE(finleycpp) Line 166  BOOST_PYTHON_MODULE(finleycpp)
166    
167    class_<finley::SystemMatrixAdapter, bases<escript::AbstractSystemMatrix> >    class_<finley::SystemMatrixAdapter, bases<escript::AbstractSystemMatrix> >
168        ("OperatorAdapter",no_init)        ("OperatorAdapter",no_init)
169          .def("print_matrix_info",&finley::SystemMatrixAdapter::Print_Matrix_Info,(arg("full")=false))
170        .def("nullifyRowsAndCols",&finley::SystemMatrixAdapter::nullifyRowsAndCols)        .def("nullifyRowsAndCols",&finley::SystemMatrixAdapter::nullifyRowsAndCols)
171        .def("resetValues",&finley::SystemMatrixAdapter::resetValues)        .def("resetValues",&finley::SystemMatrixAdapter::resetValues)
172        .def("saveMM",&finley::SystemMatrixAdapter::saveMM)        .def("saveMM",&finley::SystemMatrixAdapter::saveMM)

Legend:
Removed from v.1338  
changed lines
  Added in v.1339

  ViewVC Help
Powered by ViewVC 1.1.26