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:
Bård Skaflestad 2011-10-19 19:54:17 +02:00
parent 5fea1f8556
commit 79b5e94127
2 changed files with 5 additions and 3 deletions

View File

@ -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,

View File

@ -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,