mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Revert to original (fractional flow) model of perforation fluxes.
This commit is contained in:
@@ -110,7 +110,7 @@ namespace Opm
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ifs_tpfa_forces F = { NULL, NULL, 0, NULL, NULL };
|
ifs_tpfa_forces F = { NULL, NULL, NULL, NULL, NULL };
|
||||||
if (! src.empty()) { F.src = &src[0]; }
|
if (! src.empty()) { F.src = &src[0]; }
|
||||||
F.bc = bcs;
|
F.bc = bcs;
|
||||||
|
|
||||||
@@ -172,7 +172,7 @@ namespace Opm
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ifs_tpfa_forces F = { NULL, NULL, 0, NULL, NULL };
|
ifs_tpfa_forces F = { NULL, NULL, NULL, NULL, NULL };
|
||||||
if (! src.empty()) { F.src = &src[0]; }
|
if (! src.empty()) { F.src = &src[0]; }
|
||||||
F.bc = bcs;
|
F.bc = bcs;
|
||||||
|
|
||||||
|
|||||||
@@ -30,7 +30,6 @@ struct ifs_tpfa_impl;
|
|||||||
struct CSRMatrix;
|
struct CSRMatrix;
|
||||||
struct FlowBoundaryConditions;
|
struct FlowBoundaryConditions;
|
||||||
struct Wells;
|
struct Wells;
|
||||||
struct CompletionData;
|
|
||||||
|
|
||||||
struct ifs_tpfa_data {
|
struct ifs_tpfa_data {
|
||||||
struct CSRMatrix *A;
|
struct CSRMatrix *A;
|
||||||
@@ -49,9 +48,9 @@ struct ifs_tpfa_forces {
|
|||||||
const double *src;
|
const double *src;
|
||||||
const struct FlowBoundaryConditions *bc ;
|
const struct FlowBoundaryConditions *bc ;
|
||||||
|
|
||||||
int nphase; /* for Wdata->phasemob */
|
const struct Wells *W ;
|
||||||
const struct Wells *W ;
|
const double *totmob;
|
||||||
const struct CompletionData *Wdata ;
|
const double *wdp ;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user