/[escript]/branches/domexper/dudley/src/CPPAdapter/dudleycpp.cpp
ViewVC logotype

Diff of /branches/domexper/dudley/src/CPPAdapter/dudleycpp.cpp

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

trunk/finley/src/finley/CPPAdapter/finleycpp.cpp revision 201 by jgs, Wed Nov 23 04:10:21 2005 UTC trunk/finley/src/CPPAdapter/finleycpp.cpp revision 727 by gross, Fri May 12 06:31:06 2006 UTC
# Line 15  Line 15 
15  ******************************************************************************/  ******************************************************************************/
16    
17  extern "C" {  extern "C" {
18  #include "finley/finleyC/Finley.h"  #include "../Finley.h"
19  }  }
 #include "finley/CPPAdapter/MeshAdapter.h"  
 #include "finley/CPPAdapter/MeshAdapterFactory.h"  
 #include "finley/CPPAdapter/SystemMatrixAdapter.h"  
20    
21  #include "esysUtils/EsysException.h"  #include "MeshAdapter.h"
22    #include "MeshAdapterFactory.h"
23    #include "SystemMatrixAdapter.h"
24    
25    #include "FinleyAdapterException.h"
26    // #include "esysUtils/EsysException.h"
27  #include "esysUtils/esysExceptionTranslator.h"  #include "esysUtils/esysExceptionTranslator.h"
28    
29  #include "escript/Data/AbstractContinuousDomain.h"  #include "escript/AbstractContinuousDomain.h"
30    
31  #include <boost/python.hpp>  #include <boost/python.hpp>
32  #include <boost/python/module.hpp>  #include <boost/python/module.hpp>
# Line 125  BOOST_PYTHON_MODULE(finleycpp) Line 127  BOOST_PYTHON_MODULE(finleycpp)
127        arg("tolerance")=std::numeric_limits<double>::epsilon()),        arg("tolerance")=std::numeric_limits<double>::epsilon()),
128        return_value_policy<manage_new_object>());        return_value_policy<manage_new_object>());
129    
130    register_exception_translator<esysUtils::EsysException>(&esysUtils::esysExceptionTranslator);    register_exception_translator<finley::FinleyAdapterException>(&(esysUtils::esysExceptionTranslator));
131    
132    class_<finley::MeshAdapter, bases<escript::AbstractContinuousDomain> >    class_<finley::MeshAdapter, bases<escript::AbstractContinuousDomain> >
133        ("MeshAdapter",init<optional <Finley_Mesh*> >())        ("MeshAdapter",init<optional <Finley_Mesh*> >())

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

  ViewVC Help
Powered by ViewVC 1.1.26