spu_implicit.h
1
/*
2
* Copyright 2010 (c) SINTEF ICT, Applied Mathematics.
3
* Jostein R. Natvig <Jostein.R.Natvig at sintef.no>
4
*/
5
6
#ifndef SPU_IMPLICIT_H_INCLUDED
7
#define SPU_IMPLICIT_H_INCLUDED
8
9
typedef
struct
Sparse
{
10
int
m;
11
int
n;
12
int
*ia;
13
int
*ja;
14
double
*sa;
15
}
sparse_t
;
16
17
18
19
void
20
spu_implicit_assemble(
struct
UnstructuredGrid *g,
double
*s0,
double
*s,
double
*mob,
double
*dmob,
21
double
*dflux,
double
*gflux,
double
*src,
double
dt,
sparse_t
*S,
22
double
*b);
23
24
double
25
spu_implicit(
struct
UnstructuredGrid *g,
double
*s0,
double
*s,
double
h,
double
x0,
int
ntab,
double
*tab,
26
double
*dflux,
double
*gflux,
double
*src,
double
dt,
27
void
(*linear_solver)(
int
,
int
*,
int
*,
double
*,
double
*,
double
*));
28
29
#endif
/* SPU_IMPLICIT_H_INCLUDED */
30
Sparse
Definition:
spu_implicit.h:9
opm
core
transport
minimal
spu_implicit.h
Generated on Sun Mar 25 2018 17:06:41 by
1.8.14