/[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 727 by gross, Fri May 12 06:31:06 2006 UTC revision 888 by gross, Tue Nov 7 08:31:26 2006 UTC
# Line 14  Line 14 
14    
15  ******************************************************************************/  ******************************************************************************/
16    
17    #ifdef PASO_MPI
18    #include <mpi.h>
19    #endif
20  extern "C" {  extern "C" {
21  #include "../Finley.h"  #include "../Finley.h"
22  }  }
# Line 119  BOOST_PYTHON_MODULE(finleycpp) Line 122  BOOST_PYTHON_MODULE(finleycpp)
122    
123    def("GlueFaces",finley::glueFaces,    def("GlueFaces",finley::glueFaces,
124        (arg("safetyFactor")=0.2,        (arg("safetyFactor")=0.2,
125        arg("tolerance")=std::numeric_limits<double>::epsilon()),        arg("tolerance")=1.e-8),
126        return_value_policy<manage_new_object>());        return_value_policy<manage_new_object>());
127    
128    def("JoinFaces",finley::joinFaces,    def("JoinFaces",finley::joinFaces,
129        (arg("safetyFactor")=0.2,        (arg("safetyFactor")=0.2,
130        arg("tolerance")=std::numeric_limits<double>::epsilon()),        arg("tolerance")=1.e-8),
131        return_value_policy<manage_new_object>());        return_value_policy<manage_new_object>());
132    
133    register_exception_translator<finley::FinleyAdapterException>(&(esysUtils::esysExceptionTranslator));    register_exception_translator<finley::FinleyAdapterException>(&(esysUtils::esysExceptionTranslator));

Legend:
Removed from v.727  
changed lines
  Added in v.888

  ViewVC Help
Powered by ViewVC 1.1.26