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

trunk/finley/src/finley/CPPAdapter/finleycpp.cpp revision 203 by jgs, Wed Nov 23 04:36:15 2005 UTC trunk/finley/src/CPPAdapter/finleycpp.cpp revision 817 by ksteube, Sat Aug 26 03:08:52 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  }  }
23    
24  #include "MeshAdapter.h"  #include "MeshAdapter.h"
25  #include "MeshAdapterFactory.h"  #include "MeshAdapterFactory.h"
26  #include "SystemMatrixAdapter.h"  #include "SystemMatrixAdapter.h"
27    
28  #include "esysUtils/EsysException.h"  #include "FinleyAdapterException.h"
29    // #include "esysUtils/EsysException.h"
30  #include "esysUtils/esysExceptionTranslator.h"  #include "esysUtils/esysExceptionTranslator.h"
31    
32  #include "escript/Data/AbstractContinuousDomain.h"  #include "escript/AbstractContinuousDomain.h"
33    
34  #include <boost/python.hpp>  #include <boost/python.hpp>
35  #include <boost/python/module.hpp>  #include <boost/python/module.hpp>
# Line 125  BOOST_PYTHON_MODULE(finleycpp) Line 130  BOOST_PYTHON_MODULE(finleycpp)
130        arg("tolerance")=std::numeric_limits<double>::epsilon()),        arg("tolerance")=std::numeric_limits<double>::epsilon()),
131        return_value_policy<manage_new_object>());        return_value_policy<manage_new_object>());
132    
133    register_exception_translator<esysUtils::EsysException>(&esysUtils::esysExceptionTranslator);    register_exception_translator<finley::FinleyAdapterException>(&(esysUtils::esysExceptionTranslator));
134    
135    class_<finley::MeshAdapter, bases<escript::AbstractContinuousDomain> >    class_<finley::MeshAdapter, bases<escript::AbstractContinuousDomain> >
136        ("MeshAdapter",init<optional <Finley_Mesh*> >())        ("MeshAdapter",init<optional <Finley_Mesh*> >())

Legend:
Removed from v.203  
changed lines
  Added in v.817

  ViewVC Help
Powered by ViewVC 1.1.26