7 int gegra_(int64_t *n,int64_t *ne,int64_t *,int64_t *npn,int64_t *xnpn,int64_t *iadj,int64_t *adj,int64_t *xadj,
int *nop)
10 const char *fmt_10900 =
"(\0020%%%E01-GEGRA \002,//,1x,\002CANNOT ASSE\ 11 MBLE NODE ADJACENCY LIST\002,//,1x,\002CHECK NPN AND XNPN ARRAYS\002)";
13 int64_t i__1, i__2, i__3, i__4;
15 int64_t i, j, k, l,
m, nodej, nodek, jstop, lstop, mstop, jstrt, jrtst, lstrt, mstrt, nen1;
78 for (i = 1; i <= i__1; ++i)
84 for (i = 1; i <= i__1; ++i)
93 for (i = 1; i <= i__1; ++i)
96 jstop = xnpn[i + 1] - 1;
99 for (j = jstrt; j <= i__2; ++j)
113 for (i = 1; i <= i__1; ++i)
116 xadj[i] = l - xadj[i];
124 for (i = 1; i <= i__1; ++i)
127 jstop = xnpn[i + 1] - 1;
129 for (j = jrtst; j <= i__2; ++j)
133 lstop = xadj[nodej + 1] - 1;
135 for (k = j + 1; k <= i__3; ++k)
139 for (l = lstrt; l <= i__4; ++l)
157 mstop = xadj[nodek + 1] - 1;
159 for (m = mstrt; m <= i__4; ++
m)
185 for (i = 1; i <= i__1; ++i)
187 jstop = xadj[i + 1] - 1;
189 for (j = jstrt; j <= i__2; ++j)
204 *iadj = xadj[*n + 1] - 1;
205 *iadj = (*iadj > 1) ? *iadj : 1;
clarg::argString m("-m", "input matrix file name (text format)", "matrix.txt")
int gegra_(int64_t *n, int64_t *ne, int64_t *, int64_t *npn, int64_t *xnpn, int64_t *iadj, int64_t *adj, int64_t *xadj, int *nop)
Purpose: Form adjacency list for a graph corresponding to a finite element mesh.