FrontISTR 5.2.0
Large-scale structural analysis program with finit element method
Loading...
Searching...
No Matches
matrix2graph.h
Go to the documentation of this file.
1/*****************************************************************************
2 * Copyright (c) 2019 FrontISTR Commons
3 * This software is released under the MIT License, see LICENSE.txt
4 *****************************************************************************/
5
6#ifndef MATRIX2GRAPH_H
7#define MATRIX2GRAPH_H
8
9typedef struct {
10 int nvtxs;
11 int nedges;
12 int ncon;
13 int *xadj;
14 int *adjncy;
16
17extern void matrix2graph(int num_of_row, int num_of_col, int num_of_nzero,
18 int *irow, int *jcol, graph_type *graph);
19
20#endif /* MATRIX2GRAPH_H */
void matrix2graph(int num_of_row, int num_of_col, int num_of_nzero, int *irow, int *jcol, graph_type *graph)
Definition: matrix2graph.c:12
int * xadj
Definition: matrix2graph.h:13
int * adjncy
Definition: matrix2graph.h:14