25 integer(kind=kint),
intent(in):: neqns
26 integer(kind=kint),
intent(in):: adj0(:)
27 integer(kind=kint),
intent(in):: xadj(:)
28 integer(kind=kint),
intent(out):: perm(:)
29 integer(kind=kint),
intent(out):: invp(:)
31 #ifdef HECMW_WITH_METIS
33 integer(kind=kint),
allocatable:: vwght(:)
34 integer(kind=kint):: options(40)
35 integer(kind=kint):: ierror
37 allocate(vwght(neqns),stat=ierror)
38 if ( ierror/=0 ) stop
"ALLOCATION ERROR, vwght: SUB. gennd"
42 call metis_setdefaultoptions(options)
46 call metis_nodend(neqns,xadj,adj0,vwght,options,perm,invp)
51 stop
"METIS not available"
HECMW_ORDERING_METIS is a program for the Nested Dissection.
subroutine, public hecmw_ordering_metis_nodend(Neqns, Xadj, Adj0, Perm, Invp)
hecmw_ordering_metis_NodeND