adding getWellConvergence for StandardWell

This commit is contained in:
Kai Bao
2017-06-26 14:35:43 +02:00
parent e01e8c352a
commit d99fe876dd
3 changed files with 86 additions and 2 deletions

View File

@@ -46,8 +46,6 @@ namespace Opm
{
class SimulatorFullyImplicitBlackoilEbos;
template<typename TypeTag>
class WellInterface
{
@@ -55,6 +53,7 @@ namespace Opm
using WellState = WellStateFullyImplicitBlackoilDense;
typedef BlackoilModelParameters ModelParameters;
typedef typename GET_PROP_TYPE(TypeTag, Simulator) Simulator;
typedef typename GET_PROP_TYPE(TypeTag, FluidSystem) FluidSystem;
typedef typename GET_PROP_TYPE(TypeTag, Indices) BlackoilIndices;
@@ -140,6 +139,10 @@ namespace Opm
const double wsolvent() const;
virtual bool getWellConvergence(Simulator& ebosSimulator,
std::vector<double>& B_avg,
const ModelParameters& param) const = 0;
protected:
// TODO: some variables shared by all the wells should be made static
// well name