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

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

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

revision 1360 by ksteube, Thu Dec 13 05:05:00 2007 UTC revision 1361 by gross, Fri Dec 14 09:26:51 2007 UTC
# Line 138  BOOST_PYTHON_MODULE(finleycpp) Line 138  BOOST_PYTHON_MODULE(finleycpp)
138        arg("optimize")=true),        arg("optimize")=true),
139        return_value_policy<manage_new_object>());        return_value_policy<manage_new_object>());
140    
141    register_exception_translator<finley::FinleyAdapterException>(&(esysUtils::esysExceptionTranslator));  
142    
143    class_<finley::MeshAdapter, bases<escript::AbstractContinuousDomain> >    class_<finley::MeshAdapter, bases<escript::AbstractContinuousDomain> >
144        ("MeshAdapter",init<optional <Finley_Mesh*> >())        ("MeshAdapter",init<optional <Finley_Mesh*> >())
# Line 175  BOOST_PYTHON_MODULE(finleycpp) Line 175  BOOST_PYTHON_MODULE(finleycpp)
175        .def("saveMM",&finley::SystemMatrixAdapter::saveMM)        .def("saveMM",&finley::SystemMatrixAdapter::saveMM)
176        .def("saveHB",&finley::SystemMatrixAdapter::saveHB);        .def("saveHB",&finley::SystemMatrixAdapter::saveHB);
177    
178      register_exception_translator<finley::FinleyAdapterException>(&(esysUtils::esysExceptionTranslator));
179    
180  }  }

Legend:
Removed from v.1360  
changed lines
  Added in v.1361

  ViewVC Help
Powered by ViewVC 1.1.26