mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
more or less getting the old implementation in
and compile now.
This commit is contained in:
@@ -49,6 +49,7 @@
|
||||
#include <opm/autodiff/BlackoilModelParameters.hpp>
|
||||
#include <opm/autodiff/WellStateFullyImplicitBlackoilDense.hpp>
|
||||
#include <opm/autodiff/RateConverter.hpp>
|
||||
#include <opm/autodiff/WellInterface.hpp>
|
||||
#include<dune/common/fmatrix.hh>
|
||||
#include<dune/istl/bcrsmatrix.hh>
|
||||
#include<dune/istl/matrixmatrix.hh>
|
||||
@@ -60,6 +61,7 @@
|
||||
|
||||
#include <math.h>
|
||||
|
||||
|
||||
namespace Opm {
|
||||
|
||||
enum WellVariablePositions {
|
||||
@@ -296,6 +298,18 @@ enum WellVariablePositions {
|
||||
const Wells* wells_;
|
||||
const std::vector< const Well* > wells_ecl_;
|
||||
|
||||
// a vector of all the wells.
|
||||
// eventually, the wells_ above should be gone.
|
||||
// the name is just temporary
|
||||
// later, might make share_ptr const later.
|
||||
// TODO: forget why make it share_ptr instead of unique_ptr
|
||||
std::vector<std::shared_ptr<WellInterface> > well_container_;
|
||||
|
||||
std::vector<std::shared_ptr<WellInterface> >
|
||||
createWellContainer(const std::vector<const Well*>& wells_ecl,
|
||||
const Wells* wells_arg,
|
||||
const int time_step);
|
||||
|
||||
// Well collection is used to enforce the group control
|
||||
WellCollection* well_collection_;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user