Changeset 13213


Ignore:
Timestamp:
08/31/12 10:34:20 (13 years ago)
Author:
Mathieu Morlighem
Message:

CHG: preparing mex module conversion to python

Location:
issm/trunk-jpl/src/modules
Files:
35 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/modules/AverageFilter/AverageFilter.h

    r13211 r13213  
    1010#else
    1111        #error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
     12#endif
     13
     14/*For python modules: needs to come before header files inclusion*/
     15#ifdef _HAVE_PYTHON_
     16#define PY_ARRAY_UNIQUE_SYMBOL PythonIOSymbol
    1217#endif
    1318
  • issm/trunk-jpl/src/modules/BamgConvertMesh/BamgConvertMesh.h

    r13211 r13213  
    1010#else
    1111        #error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
     12#endif
     13
     14/*For python modules: needs to come before header files inclusion*/
     15#ifdef _HAVE_PYTHON_
     16#define PY_ARRAY_UNIQUE_SYMBOL PythonIOSymbol
    1217#endif
    1318
  • issm/trunk-jpl/src/modules/BamgMesher/BamgMesher.h

    r13211 r13213  
    1010#else
    1111        #error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
     12#endif
     13
     14/*For python modules: needs to come before header files inclusion*/
     15#ifdef _HAVE_PYTHON_
     16#define PY_ARRAY_UNIQUE_SYMBOL PythonIOSymbol
    1217#endif
    1318
  • issm/trunk-jpl/src/modules/BamgTriangulate/BamgTriangulate.h

    r13211 r13213  
    1010#else
    1111        #error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
     12#endif
     13
     14/*For python modules: needs to come before header files inclusion*/
     15#ifdef _HAVE_PYTHON_
     16#define PY_ARRAY_UNIQUE_SYMBOL PythonIOSymbol
    1217#endif
    1318
  • issm/trunk-jpl/src/modules/Chaco/Chaco.h

    r13211 r13213  
    1212#endif
    1313
     14/*For python modules: needs to come before header files inclusion*/
     15#ifdef _HAVE_PYTHON_
     16#define PY_ARRAY_UNIQUE_SYMBOL PythonIOSymbol
     17#endif
     18
    1419/* local prototypes: */
    1520void ChacoUsage(void);
    1621
     22/*headers*/
    1723#include <stdio.h>
    1824#include <string.h>    /*  strcasecmp  */
    1925#include <time.h>      /*  clock,time,difftime  */
    20 
    2126#include "../../c/include/globals.h"
    2227#include "../../c/modules/modules.h"
  • issm/trunk-jpl/src/modules/ContourToMesh/ContourToMesh.h

    r13211 r13213  
    1212#endif
    1313
    14 /*Very important definition in case we are compiling a python module!: needs to come before header files inclusion*/
     14/*For python modules: needs to come before header files inclusion*/
    1515#ifdef _HAVE_PYTHON_
    1616#define PY_ARRAY_UNIQUE_SYMBOL PythonIOSymbol
  • issm/trunk-jpl/src/modules/ContourToNodes/ContourToNodes.h

    r13211 r13213  
    1010#else
    1111        #error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
     12#endif
     13
     14/*For python modules: needs to come before header files inclusion*/
     15#ifdef _HAVE_PYTHON_
     16#define PY_ARRAY_UNIQUE_SYMBOL PythonIOSymbol
    1217#endif
    1318
  • issm/trunk-jpl/src/modules/ElementConnectivity/ElementConnectivity.h

    r13211 r13213  
    1212#endif
    1313
    14 /*Very important definition in case we are compiling a python module!: needs to come before header files inclusion*/
     14/*For python modules: needs to come before header files inclusion*/
    1515#ifdef _HAVE_PYTHON_
    1616#define PY_ARRAY_UNIQUE_SYMBOL PythonIOSymbol
  • issm/trunk-jpl/src/modules/EnumToString/EnumToString.h

    r13211 r13213  
    1212#endif
    1313
    14 /*Very important definition in case we are compiling a python module!: needs to come before header files inclusion*/
     14/*For python modules: needs to come before header files inclusion*/
    1515#ifdef _HAVE_PYTHON_
    1616#define PY_ARRAY_UNIQUE_SYMBOL PythonIOSymbol
  • issm/trunk-jpl/src/modules/Exp2Kml/Exp2Kml.h

    r13211 r13213  
    1010#else
    1111        #error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
     12#endif
     13
     14/*For python modules: needs to come before header files inclusion*/
     15#ifdef _HAVE_PYTHON_
     16#define PY_ARRAY_UNIQUE_SYMBOL PythonIOSymbol
    1217#endif
    1318
  • issm/trunk-jpl/src/modules/HoleFiller/HoleFiller.h

    r13211 r13213  
    1010#else
    1111        #error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
     12#endif
     13
     14/*For python modules: needs to come before header files inclusion*/
     15#ifdef _HAVE_PYTHON_
     16#define PY_ARRAY_UNIQUE_SYMBOL PythonIOSymbol
    1217#endif
    1318
  • issm/trunk-jpl/src/modules/InternalFront/InternalFront.h

    r13211 r13213  
    1010#else
    1111        #error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
     12#endif
     13
     14/*For python modules: needs to come before header files inclusion*/
     15#ifdef _HAVE_PYTHON_
     16#define PY_ARRAY_UNIQUE_SYMBOL PythonIOSymbol
    1217#endif
    1318
  • issm/trunk-jpl/src/modules/InterpFromGridToMesh/InterpFromGridToMesh.h

    r13211 r13213  
    1010#else
    1111        #error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
     12#endif
     13
     14/*For python modules: needs to come before header files inclusion*/
     15#ifdef _HAVE_PYTHON_
     16#define PY_ARRAY_UNIQUE_SYMBOL PythonIOSymbol
    1217#endif
    1318
  • issm/trunk-jpl/src/modules/InterpFromMesh2d/InterpFromMesh2d.h

    r13211 r13213  
    1010#else
    1111        #error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
     12#endif
     13
     14/*For python modules: needs to come before header files inclusion*/
     15#ifdef _HAVE_PYTHON_
     16#define PY_ARRAY_UNIQUE_SYMBOL PythonIOSymbol
    1217#endif
    1318
  • issm/trunk-jpl/src/modules/InterpFromMeshToGrid/InterpFromMeshToGrid.h

    r13211 r13213  
    1010#else
    1111        #error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
     12#endif
     13
     14/*For python modules: needs to come before header files inclusion*/
     15#ifdef _HAVE_PYTHON_
     16#define PY_ARRAY_UNIQUE_SYMBOL PythonIOSymbol
    1217#endif
    1318
  • issm/trunk-jpl/src/modules/InterpFromMeshToMesh2d/InterpFromMeshToMesh2d.h

    r13211 r13213  
    1212#endif
    1313
    14 /* local prototypes: */
    15 void InterpFromMeshToMesh2dUsage(void);
    16 
    17 /*If python: this macro needs to come before header files inclusion*/
     14/*For python modules: needs to come before header files inclusion*/
    1815#ifdef _HAVE_PYTHON_
    1916#define PY_ARRAY_UNIQUE_SYMBOL PythonIOSymbol
    2017#endif
     18
     19/* local prototypes: */
     20void InterpFromMeshToMesh2dUsage(void);
    2121
    2222/*Header files: */
  • issm/trunk-jpl/src/modules/InterpFromMeshToMesh3d/InterpFromMeshToMesh3d.h

    r13211 r13213  
    1010#else
    1111        #error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
     12#endif
     13
     14/*For python modules: needs to come before header files inclusion*/
     15#ifdef _HAVE_PYTHON_
     16#define PY_ARRAY_UNIQUE_SYMBOL PythonIOSymbol
    1217#endif
    1318
  • issm/trunk-jpl/src/modules/KMLFileRead/KMLFileRead.h

    r13211 r13213  
    1010#else
    1111        #error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
     12#endif
     13
     14/*For python modules: needs to come before header files inclusion*/
     15#ifdef _HAVE_PYTHON_
     16#define PY_ARRAY_UNIQUE_SYMBOL PythonIOSymbol
    1217#endif
    1318
  • issm/trunk-jpl/src/modules/KMLMeshWrite/KMLMeshWrite.h

    r13211 r13213  
    1010#else
    1111        #error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
     12#endif
     13
     14/*For python modules: needs to come before header files inclusion*/
     15#ifdef _HAVE_PYTHON_
     16#define PY_ARRAY_UNIQUE_SYMBOL PythonIOSymbol
    1217#endif
    1318
  • issm/trunk-jpl/src/modules/KMLOverlay/KMLOverlay.h

    r13211 r13213  
    1010#else
    1111        #error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
     12#endif
     13
     14/*For python modules: needs to come before header files inclusion*/
     15#ifdef _HAVE_PYTHON_
     16#define PY_ARRAY_UNIQUE_SYMBOL PythonIOSymbol
    1217#endif
    1318
  • issm/trunk-jpl/src/modules/Kml2Exp/Kml2Exp.h

    r13211 r13213  
    1010#else
    1111        #error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
     12#endif
     13
     14/*For python modules: needs to come before header files inclusion*/
     15#ifdef _HAVE_PYTHON_
     16#define PY_ARRAY_UNIQUE_SYMBOL PythonIOSymbol
    1217#endif
    1318
  • issm/trunk-jpl/src/modules/Kriging/Kriging.h

    r13211 r13213  
    1010#else
    1111        #error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
     12#endif
     13
     14/*For python modules: needs to come before header files inclusion*/
     15#ifdef _HAVE_PYTHON_
     16#define PY_ARRAY_UNIQUE_SYMBOL PythonIOSymbol
    1217#endif
    1318
  • issm/trunk-jpl/src/modules/Ll2xy/Ll2xy.h

    r13211 r13213  
    1010#else
    1111        #error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
     12#endif
     13
     14/*For python modules: needs to come before header files inclusion*/
     15#ifdef _HAVE_PYTHON_
     16#define PY_ARRAY_UNIQUE_SYMBOL PythonIOSymbol
    1217#endif
    1318
  • issm/trunk-jpl/src/modules/MeshPartition/MeshPartition.h

    r13211 r13213  
    1010#else
    1111        #error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
     12#endif
     13
     14/*For python modules: needs to come before header files inclusion*/
     15#ifdef _HAVE_PYTHON_
     16#define PY_ARRAY_UNIQUE_SYMBOL PythonIOSymbol
    1217#endif
    1318
  • issm/trunk-jpl/src/modules/MeshProfileIntersection/MeshProfileIntersection.h

    r13211 r13213  
    1010#else
    1111        #error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
     12#endif
     13
     14/*For python modules: needs to come before header files inclusion*/
     15#ifdef _HAVE_PYTHON_
     16#define PY_ARRAY_UNIQUE_SYMBOL PythonIOSymbol
    1217#endif
    1318
  • issm/trunk-jpl/src/modules/NodeConnectivity/NodeConnectivity.h

    r13211 r13213  
    1212#endif
    1313
    14 /*Very important definition in case we are compiling a python module!: needs to come before header files inclusion*/
     14/*For python modules: needs to come before header files inclusion*/
    1515#ifdef _HAVE_PYTHON_
    1616#define PY_ARRAY_UNIQUE_SYMBOL PythonIOSymbol
  • issm/trunk-jpl/src/modules/PointCloudFindNeighbors/PointCloudFindNeighbors.h

    r13211 r13213  
    1010#else
    1111        #error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
     12#endif
     13
     14/*For python modules: needs to come before header files inclusion*/
     15#ifdef _HAVE_PYTHON_
     16#define PY_ARRAY_UNIQUE_SYMBOL PythonIOSymbol
    1217#endif
    1318
  • issm/trunk-jpl/src/modules/PropagateFlagsFromConnectivity/PropagateFlagsFromConnectivity.h

    r13211 r13213  
    1010#else
    1111        #error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
     12#endif
     13
     14/*For python modules: needs to come before header files inclusion*/
     15#ifdef _HAVE_PYTHON_
     16#define PY_ARRAY_UNIQUE_SYMBOL PythonIOSymbol
    1217#endif
    1318
  • issm/trunk-jpl/src/modules/Scotch/Scotch.h

    r13211 r13213  
    1010#else
    1111        #error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
     12#endif
     13
     14/*For python modules: needs to come before header files inclusion*/
     15#ifdef _HAVE_PYTHON_
     16#define PY_ARRAY_UNIQUE_SYMBOL PythonIOSymbol
    1217#endif
    1318
  • issm/trunk-jpl/src/modules/Shp2Kml/Shp2Kml.h

    r13211 r13213  
    1010#else
    1111        #error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
     12#endif
     13
     14/*For python modules: needs to come before header files inclusion*/
     15#ifdef _HAVE_PYTHON_
     16#define PY_ARRAY_UNIQUE_SYMBOL PythonIOSymbol
    1217#endif
    1318
  • issm/trunk-jpl/src/modules/StringToEnum/StringToEnum.h

    r13211 r13213  
    1212#endif
    1313
    14 /*Very important definition in case we are compiling a python module!: needs to come before header files inclusion*/
     14/*For python modules: needs to come before header files inclusion*/
    1515#ifdef _HAVE_PYTHON_
    1616#define PY_ARRAY_UNIQUE_SYMBOL PythonIOSymbol
  • issm/trunk-jpl/src/modules/TriMesh/TriMesh.h

    r13211 r13213  
    1212#endif
    1313
    14 /*Very important definition in case we are compiling a python module!: needs to come before header files inclusion*/
     14/*For python modules: needs to come before header files inclusion*/
    1515#ifdef _HAVE_PYTHON_
    1616#define PY_ARRAY_UNIQUE_SYMBOL PythonIOSymbol
  • issm/trunk-jpl/src/modules/TriMeshProcessRifts/TriMeshProcessRifts.h

    r13211 r13213  
    1212#endif
    1313
     14/*For python modules: needs to come before header files inclusion*/
     15#ifdef _HAVE_PYTHON_
     16#define PY_ARRAY_UNIQUE_SYMBOL PythonIOSymbol
     17#endif
    1418
    1519#include "mex.h"
  • issm/trunk-jpl/src/modules/TriaSearch/TriaSearch.h

    r13211 r13213  
    99#else
    1010        #error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
     11#endif
     12
     13/*For python modules: needs to come before header files inclusion*/
     14#ifdef _HAVE_PYTHON_
     15#define PY_ARRAY_UNIQUE_SYMBOL PythonIOSymbol
    1116#endif
    1217
  • issm/trunk-jpl/src/modules/Xy2ll/Xy2ll.h

    r13211 r13213  
    1212#endif
    1313
     14/*For python modules: needs to come before header files inclusion*/
     15#ifdef _HAVE_PYTHON_
     16#define PY_ARRAY_UNIQUE_SYMBOL PythonIOSymbol
     17#endif
    1418
    1519/* local prototypes: */
Note: See TracChangeset for help on using the changeset viewer.