/[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 1059 by gross, Fri Mar 23 11:01:53 2007 UTC revision 1062 by gross, Mon Mar 26 06:17:53 2007 UTC
# Line 90  BOOST_PYTHON_MODULE(finleycpp) Line 90  BOOST_PYTHON_MODULE(finleycpp)
90    // return pointers.    // return pointers.
91    
92    def("ReadMesh",finley::readMesh,    def("ReadMesh",finley::readMesh,
93        (arg("fileName"),arg("integrationOrder")=-1,  arg("reducedIntegrationOrder")=-1),        (arg("fileName"),arg("integrationOrder")=-1,  arg("reducedIntegrationOrder")=-1,  arg("optimizeLabeling")=true),
94        return_value_policy<manage_new_object>());        return_value_policy<manage_new_object>());
95    
96    def("ReadGmsh",finley::readGmsh,    def("ReadGmsh",finley::readGmsh,
# Line 126  BOOST_PYTHON_MODULE(finleycpp) Line 126  BOOST_PYTHON_MODULE(finleycpp)
126    
127    def("GlueFaces",finley::glueFaces,    def("GlueFaces",finley::glueFaces,
128        (arg("safetyFactor")=0.2,        (arg("safetyFactor")=0.2,
129        arg("tolerance")=1.e-8),        arg("tolerance")=1.e-8,
130          arg("optimizeLabeling")=true),
131        return_value_policy<manage_new_object>());        return_value_policy<manage_new_object>());
132    
133    def("JoinFaces",finley::joinFaces,    def("JoinFaces",finley::joinFaces,
134        (arg("safetyFactor")=0.2,        (arg("safetyFactor")=0.2,
135        arg("tolerance")=1.e-8),        arg("tolerance")=1.e-8,
136          arg("optimizeLabeling")=true),
137        return_value_policy<manage_new_object>());        return_value_policy<manage_new_object>());
138    
139    register_exception_translator<finley::FinleyAdapterException>(&(esysUtils::esysExceptionTranslator));    register_exception_translator<finley::FinleyAdapterException>(&(esysUtils::esysExceptionTranslator));

Legend:
Removed from v.1059  
changed lines
  Added in v.1062

  ViewVC Help
Powered by ViewVC 1.1.26