Changeset 10074
- Timestamp:
- 10/03/11 13:43:35 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/toolkits/metis/patches/METIS_PartMeshNodalPatch.cpp
r9998 r10074 3 3 */ 4 4 5 #include <config.h> 5 6 #include "../metisincludes.h" 6 7 #include "../../../shared/shared.h" … … 9 10 10 11 11 #if _METIS_VERSION == 4 12 METIS_PartMeshNodalPatch(pnumberofelements,pnumberofnodes, index, petype, pnumflag, pnum_procs, pedgecut, epart, npart); /*Our interface originates in the Metis 4.0 version, hence identical calls*/ 13 #endif 14 15 #if _METIS_VERSION == 5 12 #if _METIS_VERSION_ == 4 13 /*Our interface originates in the Metis 4.0 version, hence identical calls*/ 14 METIS_PartMeshNodalPatch(pnumberofelements,pnumberofnodes, index, petype, pnumflag, pnum_procs, pedgecut, epart, npart); 15 #elif _METIS_VERSION_ == 5 16 16 /*This interface is heavily changed. More options, different way of meshing, etc ...: */ 17 17 int i; … … 57 57 NULL, NULL, pnum_procs, tpwgts, options, &objval, 58 58 epart, npart); 59 #else 60 _error_("METIS version not supported yet"); 59 61 #endif 60 62 }
Note:
See TracChangeset
for help on using the changeset viewer.