FrontISTR
5.7.1
Large-scale structural analysis program with finit element method
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
9
typedef
struct
{
10
int
nvtxs
;
11
int
nedges
;
12
int
ncon
;
13
int
*
xadj
;
14
int
*
adjncy
;
15
}
graph_type
;
16
17
extern
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 */
matrix2graph
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
graph_type
Definition:
matrix2graph.h:9
graph_type::nvtxs
int nvtxs
Definition:
matrix2graph.h:10
graph_type::xadj
int * xadj
Definition:
matrix2graph.h:13
graph_type::ncon
int ncon
Definition:
matrix2graph.h:12
graph_type::adjncy
int * adjncy
Definition:
matrix2graph.h:14
graph_type::nedges
int nedges
Definition:
matrix2graph.h:11
hecmw1
src
solver
solver_direct_parallel
matrix2graph.h
Generated by
1.9.1