Changeset 11939


Ignore:
Timestamp:
04/05/12 14:52:14 (13 years ago)
Author:
Eric.Larour
Message:

New Python toolkit

Location:
issm/trunk-jpl/src/c/toolkits
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk-jpl/src/c/toolkits/python/pythonincludes.h

    r11860 r11939  
    66#define _PYTHON_INCLUDES_H_
    77
    8 #include <stdio.h>
    9 using namespace std;
     8using namespace std;
    109
    1110#include <boost/python.hpp>
    12 #include <boost/python/module.hpp>
    1311#include <boost/python/def.hpp>
    1412#include <numpy/arrayobject.h>
     13#include <boost/python/module.hpp>
    1514
    1615using namespace boost::python;
    1716typedef boost::python::numeric::array pyArray;
    1817
    19 
    2018#endif
  • TabularUnified issm/trunk-jpl/src/c/toolkits/toolkits.h

    r11861 r11939  
    1212#endif
    1313
     14#if defined(_HAVE_PYTHON_) && defined(_SERIAL_)
     15#include "./python/pythonincludes.h"
     16#endif
     17
    1418#ifdef _HAVE_PETSC_
    1519#include "./petsc/petscincludes.h"
     
    2024#endif
    2125
    22 #if defined(_HAVE_PYTHON_) && defined(_SERIAL_)
    23 #include "./python/pythonincludes.h"
    24 #endif
    2526
    2627#include "./mpi/mpiincludes.h"
Note: See TracChangeset for help on using the changeset viewer.