mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-07 06:53:02 -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 "well.h"
|
||||||
|
|
||||||
#include "compr_quant_general.h"
|
#include "compr_quant_general.h"
|
||||||
|
#include "compr_source.h"
|
||||||
#include "sparse_sys.h"
|
#include "sparse_sys.h"
|
||||||
#include "trans_tpfa.h"
|
#include "trans_tpfa.h"
|
||||||
|
|
||||||
@ -36,7 +37,7 @@ struct densrat_util {
|
|||||||
|
|
||||||
|
|
||||||
struct cfs_tpfa_res_impl {
|
struct cfs_tpfa_res_impl {
|
||||||
int is_incomp
|
int is_incomp;
|
||||||
|
|
||||||
/* One entry per component per face */
|
/* One entry per component per face */
|
||||||
double *compflux_f; /* A_{ij} v_{ij} */
|
double *compflux_f; /* A_{ij} v_{ij} */
|
||||||
@ -733,7 +734,7 @@ void
|
|||||||
cfs_tpfa_res_assemble(grid_t *G,
|
cfs_tpfa_res_assemble(grid_t *G,
|
||||||
double dt,
|
double dt,
|
||||||
flowbc_t *bc,
|
flowbc_t *bc,
|
||||||
const double *src,
|
struct compr_src *src,
|
||||||
const double *zc,
|
const double *zc,
|
||||||
struct compr_quantities_gen *cq,
|
struct compr_quantities_gen *cq,
|
||||||
const double *trans,
|
const double *trans,
|
||||||
|
@ -31,6 +31,7 @@ extern "C" {
|
|||||||
struct cfs_tpfa_res_impl;
|
struct cfs_tpfa_res_impl;
|
||||||
struct CSRMatrix;
|
struct CSRMatrix;
|
||||||
struct compr_quantities_gen;
|
struct compr_quantities_gen;
|
||||||
|
struct compr_src;
|
||||||
|
|
||||||
struct cfs_tpfa_res_data {
|
struct cfs_tpfa_res_data {
|
||||||
struct CSRMatrix *J;
|
struct CSRMatrix *J;
|
||||||
@ -50,7 +51,7 @@ void
|
|||||||
cfs_tpfa_res_assemble(grid_t *G,
|
cfs_tpfa_res_assemble(grid_t *G,
|
||||||
double dt,
|
double dt,
|
||||||
flowbc_t *bc,
|
flowbc_t *bc,
|
||||||
const double *src,
|
struct compr_src *src,
|
||||||
const double *zc,
|
const double *zc,
|
||||||
struct compr_quantities_gen *cq,
|
struct compr_quantities_gen *cq,
|
||||||
const double *trans,
|
const double *trans,
|
||||||
|
Loading…
Reference in New Issue
Block a user