solveWellEq in StandardWellsDense calls

solveWellEq from each individual well.
This commit is contained in:
Kai Bao
2017-06-27 12:17:36 +02:00
parent 9dace225de
commit 07d24b9d8d
5 changed files with 30 additions and 113 deletions

View File

@@ -64,6 +64,7 @@ namespace Opm
static const bool has_solvent = GET_PROP_VALUE(TypeTag, EnableSolvent);
/// Constructor
// TODO: Wel can be reference.
WellInterface(const Well* well, const int time_step, const Wells* wells);
/// Well name.
@@ -147,6 +148,11 @@ namespace Opm
const ModelParameters& param,
WellState& well_state) = 0;
virtual void assembleWellEq(Simulator& ebosSimulator,
const double dt,
WellState& well_state,
bool only_wells) = 0;
protected:
// TODO: some variables shared by all the wells should be made static
// well name