Backed out changeset 3b7e5d602aab

We need a copy of 'compr_quant' before restoring compat.
This commit is contained in:
Bård Skaflestad 2011-10-18 23:18:22 +02:00
parent 2134f1f91e
commit d909e0f6d5

View File

@ -29,15 +29,21 @@ extern "C" {
#endif
struct compr_quantities {
int nphases; /* Number of phases/components */
int nphases; /* Number of phases/components */
double *totcompr; /* Total compressibility per cell */
double *voldiscr; /* Volume discrepancy per cell */
double *Ac; /* RB^{-1} per cell */
double *dAc; /* d/dp (RB^{-1}) per cell */
double *Af; /* RB^{-1} per face */
double *phasemobf; /* Phase mobility per face */
double *voldiscr; /* Volume discrepancy per cell */
};
struct compr_quantities *
compr_quantities_allocate(size_t nc, size_t nf, int np);
void
compr_quantities_deallocate(struct compr_quantities *cq);
void
compr_flux_term(grid_t *G,
const double *fflux,