mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
handing the numComponents in WellInterface
This commit is contained in:
@@ -44,8 +44,10 @@ namespace Opm
|
||||
public:
|
||||
// using WellInterface<TypeTag>::Simulator;
|
||||
// using WellInterface<TypeTag>::WellState;
|
||||
typedef typename WellInterface<TypeTag>::Simulator Simulator;
|
||||
typedef typename WellInterface<TypeTag>::WellState WellState;
|
||||
using Simulator = typename WellInterface<TypeTag>::Simulator;
|
||||
using WellState = typename WellInterface<TypeTag>::WellState;
|
||||
using IntensiveQuantities = typename WellInterface<TypeTag>::IntensiveQuantities;
|
||||
|
||||
// the positions of the primary variables for StandardWell
|
||||
// there are three primary variables, the second and the third ones are F_w and F_g
|
||||
// the first one can be total rate (G_t) or bhp, based on the control
|
||||
@@ -111,6 +113,12 @@ namespace Opm
|
||||
|
||||
EvalWell extendEval(const Eval& in) const;
|
||||
|
||||
// TODO: to check whether all the paramters are required
|
||||
void computePerfRate(const IntensiveQuantities& intQuants,
|
||||
const std::vector<EvalWell>& mob_perfcells_dense,
|
||||
const EvalWell& bhp, const double& cdp,
|
||||
const bool& allow_cf, std::vector<EvalWell>& cq_s) const;
|
||||
|
||||
using WellInterface<TypeTag>::phaseUsage;
|
||||
using WellInterface<TypeTag>::active;
|
||||
using WellInterface<TypeTag>::numberOfPerforations;
|
||||
@@ -122,6 +130,7 @@ namespace Opm
|
||||
using WellInterface<TypeTag>::numberOfPhases;
|
||||
using WellInterface<TypeTag>::perfDepth;
|
||||
using WellInterface<TypeTag>::flowToEbosPvIdx;
|
||||
using WellInterface<TypeTag>::numComponents;
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user