23#ifndef OPM_STANDARDWELL_EVAL_HEADER_INCLUDED
24#define OPM_STANDARDWELL_EVAL_HEADER_INCLUDED
26#include <opm/simulators/wells/StandardWellConnections.hpp>
27#include <opm/simulators/wells/StandardWellEquations.hpp>
28#include <opm/simulators/wells/StandardWellPrimaryVariables.hpp>
30#include <opm/material/densead/Evaluation.hpp>
38class ConvergenceReport;
43class WellContributions;
44template<
class Flu
idSystem,
class Indices,
class Scalar>
class WellInterfaceIndices;
47template<
class Flu
idSystem,
class Indices,
class Scalar>
53 static constexpr int Bhp = PrimaryVariables::Bhp;
54 static constexpr int WQTotal= PrimaryVariables::WQTotal;
55 static constexpr int numWellConservationEq = PrimaryVariables::numWellConservationEq;
57 static constexpr bool has_wfrac_variable = PrimaryVariables::has_wfrac_variable;
58 static constexpr bool has_gfrac_variable = PrimaryVariables::has_gfrac_variable;
59 static constexpr int WFrac = PrimaryVariables::WFrac;
60 static constexpr int GFrac = PrimaryVariables::GFrac;
61 static constexpr int SFrac = PrimaryVariables::SFrac;
64 using EvalWell =
typename PrimaryVariables::EvalWell;
65 using Eval = DenseAd::Evaluation<Scalar, Indices::numEq>;
66 using BVectorWell =
typename StandardWellEquations<Scalar,Indices::numEq>::BVectorWell;
77 EvalWell extendEval(
const Eval&
in)
const;
80 void computeAccumWell();
83 const std::vector<double>&
B_avg,
84 const double maxResidualAllowed,
88 std::vector<double>&
res,
94 const bool has_polymermw);
104 std::vector<double> F0_;
Definition AquiferInterface.hpp:35
Represents the convergence status of the whole simulator, to make it possible to query and store the ...
Definition ConvergenceReport.hpp:38
Definition DeferredLogger.hpp:57
Definition StandardWellEval.hpp:49
StdWellConnections connections_
Connection level values.
Definition StandardWellEval.hpp:107
const StandardWellEquations< Scalar, Indices::numEq > & linSys() const
Returns a const reference to equation system.
Definition StandardWellEval.hpp:69
StandardWellEquations< Scalar, Indices::numEq > linSys_
Linear equation system.
Definition StandardWellEval.hpp:106
PrimaryVariables primary_variables_
Primary variables for well.
Definition StandardWellEval.hpp:101
The state of a set of wells, tailored for use by the fully implicit blackoil simulator.
Definition WellState.hpp:60
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition BlackoilPhases.hpp:27