adding function computeAccumWell and computeWellConnectionPressures

to StandardWell and removing a few not needed function from StandardWellsDense
This commit is contained in:
Kai Bao
2017-06-29 13:52:31 +02:00
parent 033fe70620
commit 3ceea76616
5 changed files with 59 additions and 178 deletions

View File

@@ -40,6 +40,9 @@ namespace Opm
{
public:
// TODO: some functions working with AD variables handles only with values (double) without
// dealing with derivatives. It can be beneficial to make functions can work with either AD or scalar value.
// And also, it can also be beneficial to make these functions hanle different types of AD variables.
// TODO: several functions related to polymer and PLYSHLOG are not incorprated yet,
// like the function wpolymer, setupCompressedToCartesian, computeRepRadiusPerfLength,
// They are introduced though PR 1220 and will be included later.
@@ -137,6 +140,11 @@ namespace Opm
const std::vector<double>& B_avg,
const ModelParameters& param) const;
virtual void computeAccumWell();
virtual void computeWellConnectionPressures(const Simulator& ebosSimulator,
const WellState& xw);
using WellInterface<TypeTag>::phaseUsage;
using WellInterface<TypeTag>::active;
using WellInterface<TypeTag>::numberOfPerforations;