18 #include "order/order_internal.h"
67 if ( ordemesh == NULL ) {
70 if ( new_n < ordemesh->vertnbr ) {
94 for(i=0; i< new_n; i++) {
101 ordemesh->
permtab[i] = ip+baseval;
104 for(i=0; i<new_n; i++) {
105 ip = ordemesh->
permtab[i] - baseval;
106 assert( (ip > -1) && (ip < new_n) );
107 ordemesh->
peritab[ip] = i + baseval;
111 assert( ordesave.
rangtab != NULL );
116 assert( ordesave.
treetab != NULL );
118 for(i=0; i < ordesave.
cblknbr; i++) {
119 assert( ordemesh->
treetab[i] != i );
121 if ( ordemesh->
treetab[i] == -1 ) {
BEGIN_C_DECLS typedef int pastix_int_t
@ PASTIX_ERR_BADPARAMETER
int pastixOrderAlloc(pastix_order_t *ordeptr, pastix_int_t vertnbr, pastix_int_t cblknbr)
Allocate the order structure.
int orderAddIsolate(pastix_order_t *ordemesh, pastix_int_t new_n, const pastix_int_t *perm)
This routine combines two permutation arrays when a subset of vertices has been isolated from the ori...
void pastixOrderExit(pastix_order_t *ordeptr)
Free the arrays initialized in the order structure.