/[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

trunk/finley/src/CPPAdapter/finleycpp.cpp revision 1370 by gross, Wed Jan 2 09:21:43 2008 UTC temp/finley/src/CPPAdapter/finleycpp.cpp revision 1387 by trankine, Fri Jan 11 07:45:26 2008 UTC
# Line 79  using namespace boost::python; Line 79  using namespace boost::python;
79  BOOST_PYTHON_MODULE(finleycpp)  BOOST_PYTHON_MODULE(finleycpp)
80  {  {
81    
   // def("ReadMesh",finley::readMesh,readMesh_overloads());  
   // def("Brick",finley::brick,brick_overloads());  
   // def("Rectangle",finley::rectangle,rectangle_overloads());  
   // def("Interval",finley::interval,interval_overloads());  
   // def("GlueFaces",finley::glueFaces,glueFaces_overloads());  
   // def("JoinFaces",finley::joinFaces,joinFaces_overloads());  
82    //    //
83    // NOTE: The return_value_policy is necessary for functions that    // NOTE: The return_value_policy is necessary for functions that
84    // return pointers.    // return pointers.
85      //
86      register_exception_translator<finley::FinleyAdapterException>(&(esysUtils::esysExceptionTranslator));
87    
88    def("LoadMesh",finley::loadMesh,    def("LoadMesh",finley::loadMesh,
89        (arg("fileName")="file.nc"),        (arg("fileName")="file.nc"),
# Line 184  BOOST_PYTHON_MODULE(finleycpp) Line 180  BOOST_PYTHON_MODULE(finleycpp)
180    
181    
182    
   register_exception_translator<finley::FinleyAdapterException>(&(esysUtils::esysExceptionTranslator));  
183    
184  }  }

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

  ViewVC Help
Powered by ViewVC 1.1.26