/[escript]/trunk/escript/src/escriptcpp.cpp
ViewVC logotype

Diff of /trunk/escript/src/escriptcpp.cpp

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

revision 2084 by jfenwick, Fri Nov 21 05:20:42 2008 UTC revision 2100 by gross, Wed Nov 26 08:13:00 2008 UTC
# Line 32  extern "C" { Line 32  extern "C" {
32    
33  #include "esysUtils/esysExceptionTranslator.h"  #include "esysUtils/esysExceptionTranslator.h"
34    
35    #include <boost/version.hpp>
36  #include <boost/python.hpp>  #include <boost/python.hpp>
37  #include <boost/python/module.hpp>  #include <boost/python/module.hpp>
38  #include <boost/python/def.hpp>  #include <boost/python/def.hpp>
# Line 83  BOOST_PYTHON_MODULE(escriptcpp) Line 84  BOOST_PYTHON_MODULE(escriptcpp)
84  #if ((BOOST_VERSION/100)%1000 > 34) || (BOOST_VERSION/100000 >1)  #if ((BOOST_VERSION/100)%1000 > 34) || (BOOST_VERSION/100000 >1)
85  //#if ((BOOST_VERSION/100)%1000) > 34  //#if ((BOOST_VERSION/100)%1000) > 34
86    // params are: bool show_user_defined, bool show_py_signatures, bool show_cpp_signatures    // params are: bool show_user_defined, bool show_py_signatures, bool show_cpp_signatures
87      #if BOOST_VERSION > 103399
88    docstring_options docopt(true, true, false);    docstring_options docopt(true, true, false);
89      #endif
90  #endif  #endif
91    
92    def("setNumberOfThreads",escript::setNumberOfThreads);    def("setNumberOfThreads",escript::setNumberOfThreads);
# Line 98  BOOST_PYTHON_MODULE(escriptcpp) Line 101  BOOST_PYTHON_MODULE(escriptcpp)
101    def("printParallelThreadCounts",escript::printParallelThreadCnt);    def("printParallelThreadCounts",escript::printParallelThreadCnt);
102    def("getMPISizeWorld",escript::getMPISizeWorld);    def("getMPISizeWorld",escript::getMPISizeWorld);
103    def("getMPIRankWorld",escript::getMPIRankWorld);    def("getMPIRankWorld",escript::getMPIRankWorld);
104      def("getMachinePrecision",escript::getMachinePrecision);
105      def("getMaxFloat",escript::getMaxFloat);
106    //    //
107    // Interface for AbstractDomain    // Interface for AbstractDomain
108    //    //

Legend:
Removed from v.2084  
changed lines
  Added in v.2100

  ViewVC Help
Powered by ViewVC 1.1.26