Commit 95f10ac6 authored by Pedro Gonnet's avatar Pedro Gonnet
Browse files

allow for 64-bit indices in METIS.


Former-commit-id: 8eeb4a4464355dcfa1e73762785f9887fbf34146
parent ade8f509
......@@ -509,7 +509,11 @@ void engine_repartition ( struct engine *e ) {
/* Dump the 3d array of cell IDs. */
printf( "engine_repartition: nodeIDs = reshape( [" );
for ( i = 0 ; i < cdim[0]*cdim[1]*cdim[2] ; i++ )
#if IDXTYPEWIDTH==32
printf( "%i " , nodeIDs[ i ] );
#else
printf( "%lli " , nodeIDs[ i ] );
#endif
printf("] ,%i,%i,%i);\n",cdim[0],cdim[1],cdim[2]);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment