/* * Copyright 1997, Regents of the University of Minnesota * * fortran.c * * This file contains code for the fortran to C interface * * Started 8/19/97 * George * */ #include /************************************************************************* * This function changes the numbering to start from 0 instead of 1 **************************************************************************/ void Change2CNumbering(idxtype nvtxs, idxtype *xadj, idxtype *adjncy) { idxtype i, nedges; for (i=0; i<=nvtxs; i++) xadj[i]--; nedges = xadj[nvtxs]; for (i=0; i