/[escript]/trunk/finley/src/CPPAdapter/finleycpp.cpp
ViewVC logotype

Diff of /trunk/finley/src/CPPAdapter/finleycpp.cpp

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

revision 1384 by gross, Thu Jan 10 00:21:22 2008 UTC revision 1385 by trankine, Fri Jan 11 07:33:30 2008 UTC
# Line 85  BOOST_PYTHON_MODULE(finleycpp) Line 85  BOOST_PYTHON_MODULE(finleycpp)
85    //    //
86    register_exception_translator<finley::FinleyAdapterException>(&(esysUtils::esysExceptionTranslator));    register_exception_translator<finley::FinleyAdapterException>(&(esysUtils::esysExceptionTranslator));
87    
88      register_exception_translator<finley::FinleyAdapterException>(&(esysUtils::esysExceptionTranslator));
89    
90    def("LoadMesh",finley::loadMesh,    def("LoadMesh",finley::loadMesh,
91        (arg("fileName")="file.nc"),        (arg("fileName")="file.nc"),
92        return_value_policy<manage_new_object>());        return_value_policy<manage_new_object>());
# Line 177  BOOST_PYTHON_MODULE(finleycpp) Line 179  BOOST_PYTHON_MODULE(finleycpp)
179    class_<finley::TransportProblemAdapter, bases<escript::AbstractTransportProblem> >    class_<finley::TransportProblemAdapter, bases<escript::AbstractTransportProblem> >
180        ("OperatorAdapter",no_init)        ("OperatorAdapter",no_init)
181        .def("resetTransport",&finley::TransportProblemAdapter::resetTransport);        .def("resetTransport",&finley::TransportProblemAdapter::resetTransport);
   
   
   
   
182  }  }

Legend:
Removed from v.1384  
changed lines
  Added in v.1385

  ViewVC Help
Powered by ViewVC 1.1.26