16 #ifndef DOXYGEN_SHOULD_SKIP_THIS
20 #include "order/order_internal.h"
46 pastix_int_t sndeidx )
53 pastix_int_t ibeg, iend, size;
55 pastix_int_t color = 0;
58 assert( order != NULL );
59 assert( order->sndetab != NULL );
60 assert( symbmtx != NULL );
62 ibeg = order->sndetab[sndeidx];
63 iend = order->sndetab[sndeidx+1];
69 rc = asprintf( &fname,
"part.%ld.%s.map",
70 (
long)sndeidx, extname );
73 rc = asprintf( &fname,
"part.%ld.map",
80 fprintf( file,
"%ld\n", (
long)size );
89 while ( (i > 0) && (symbcblk[i].fcolnum > iend) ) {
95 pastix_int_t fnode = symbcblk[i].
fcolnum;
96 pastix_int_t lnode = symbcblk[i].
lcolnum;
99 assert( lnode < ibeg );
103 for (j=fnode; j<=lnode; j++) {
104 fprintf( file,
"%ld %ld\n",
105 (
long)(j - ibeg), (
long)color );
FILE * pastix_fopenw(const char *dirname, const char *filename, const char *mode)
Open a file in the unique directory of the pastix instance.
void pastix_gendirectories(pastix_data_t *pastix_data)
Generate a unique temporary directory to store output files.
BEGIN_C_DECLS struct pastix_order_s pastix_order_t
Order structure.
void pastixSymbolDrawMap(pastix_data_t *pastix_data, const char *extname, pastix_int_t sndeidx)
Dump a separator mapping into a map file.
Symbol column block structure.