Changeset 13395 for issm/trunk/src/modules/MeshPartition/MeshPartition.h
- Timestamp:
- 09/19/12 09:32:34 (12 years ago)
- Location:
- issm/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk
- Property svn:ignore
-
old new 1 projects 1 2 autom4te.cache 2 3 aclocal.m4
-
- Property svn:mergeinfo changed
/issm/trunk-jpl merged: 12710-12871,12873-12877,12881-12896,12898-12900,12902-12916,12920-12935,12937-12945,12948-13100,13107-13110,13112-13116,13119-13393
- Property svn:ignore
-
issm/trunk/src
-
Property svn:mergeinfo
set to
/issm/branches/trunk-jpl-damage/src merged eligible /issm/trunk-jpl/src merged eligible
-
Property svn:mergeinfo
set to
-
issm/trunk/src/modules/MeshPartition/MeshPartition.h
r12331 r13395 1 2 1 /* 3 2 MeshPartition.h 4 3 */ 5 4 6 7 5 #ifndef _MESHPARTITION_H 8 6 #define _MESHPARTITION_H 9 7 10 /* local prototypes: */ 11 void MeshPartitionUsage(void); 8 #ifdef HAVE_CONFIG_H 9 #include <config.h> 10 #else 11 #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 17 #endif 12 18 13 19 #include "../../c/include/globals.h" … … 17 23 #include "../../c/issm-binding.h" 18 24 19 #undef CLEANUP20 #define CLEANUP MeshPartitionLocalCleanup();21 22 25 #undef __FUNCT__ 23 26 #define __FUNCT__ "MeshPartition" 24 27 28 #ifdef _HAVE_MATLAB_MODULES_ 25 29 /* serial input macros: */ 26 #define MODEL (mxArray*)prhs[0] 27 #define NUMAREAS (mxArray*)prhs[1] 28 30 #define MODEL prhs[0] 31 #define NUMAREAS prhs[1] 29 32 /* serial output macros: */ 30 33 #define ELEMENTPARTITIONING (mxArray**)&plhs[0] 31 34 #define NODEPARTITIONING (mxArray**)&plhs[1] 35 #endif 36 37 #ifdef _HAVE_PYTHON_MODULES_ 38 /* serial input macros: */ 39 #define MODEL PyTuple_GetItem(args,0) 40 #define NUMAREAS PyTuple_GetItem(args,1) 41 /* serial output macros: */ 42 #define ELEMENTPARTITIONING output,0 43 #define NODEPARTITIONING output,1 44 #endif 32 45 33 46 /* serial arg counts: */
Note:
See TracChangeset
for help on using the changeset viewer.