xref: /petsc/src/mat/impls/dense/seq/dense.h (revision ee0de897fec99be7c10c7637bbd068d61b2ce625)
1 /* $Id: dense.h,v 1.1 1995/10/19 17:25:38 curfman Exp curfman $ */
2 
3 #include "matimpl.h"
4 #include <math.h>
5 
6 #if !defined(__DENSE_H)
7 #define __DENSE_H
8 
9 /*
10   MATSEQDENSE format - conventional dense Fortran storage (by columns)
11 */
12 
13 typedef struct {
14   Scalar *v;                /* matrix elements */
15   int    roworiented;       /* if true, row oriented input (default) */
16   int    m, n;              /* rows, columns */
17   int    pad;               /* padding */
18   int    *pivots;           /* pivots in LU factorization */
19   int    user_alloc;        /* true if the user provided the dense data */
20 } Mat_SeqDense;
21 
22 #endif
23