mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-03 21:16:54 -06:00
Accept a set of compressible source terms rather than a double*.
While here, restore an essential semicolon lost in cset 11881e6cd650.
This commit is contained in:
parent
5fea1f8556
commit
79b5e94127
@ -9,6 +9,7 @@
|
||||
#include "well.h"
|
||||
|
||||
#include "compr_quant_general.h"
|
||||
#include "compr_source.h"
|
||||
#include "sparse_sys.h"
|
||||
#include "trans_tpfa.h"
|
||||
|
||||
@ -36,7 +37,7 @@ struct densrat_util {
|
||||
|
||||
|
||||
struct cfs_tpfa_res_impl {
|
||||
int is_incomp
|
||||
int is_incomp;
|
||||
|
||||
/* One entry per component per face */
|
||||
double *compflux_f; /* A_{ij} v_{ij} */
|
||||
@ -733,7 +734,7 @@ void
|
||||
cfs_tpfa_res_assemble(grid_t *G,
|
||||
double dt,
|
||||
flowbc_t *bc,
|
||||
const double *src,
|
||||
struct compr_src *src,
|
||||
const double *zc,
|
||||
struct compr_quantities_gen *cq,
|
||||
const double *trans,
|
||||
|
@ -31,6 +31,7 @@ extern "C" {
|
||||
struct cfs_tpfa_res_impl;
|
||||
struct CSRMatrix;
|
||||
struct compr_quantities_gen;
|
||||
struct compr_src;
|
||||
|
||||
struct cfs_tpfa_res_data {
|
||||
struct CSRMatrix *J;
|
||||
@ -50,7 +51,7 @@ void
|
||||
cfs_tpfa_res_assemble(grid_t *G,
|
||||
double dt,
|
||||
flowbc_t *bc,
|
||||
const double *src,
|
||||
struct compr_src *src,
|
||||
const double *zc,
|
||||
struct compr_quantities_gen *cq,
|
||||
const double *trans,
|
||||
|
Loading…
Reference in New Issue
Block a user