Added constuctor to WellManager which used Wells struct.

This commit is contained in:
Halvor Møll Nilsen 2012-09-05 11:47:38 +02:00
parent abd8973382
commit 0f3423cbf4
2 changed files with 8 additions and 1 deletions

View File

@ -223,6 +223,10 @@ namespace Opm
: w_(0)
{
}
WellsManager::WellsManager(struct Wells* W)
: w_(W)
{
}

View File

@ -41,7 +41,10 @@ namespace Opm
{
public:
/// Default constructor -- no wells.
WellsManager();
WellsManager();
/// Construct from mrst type output.
/// Wellmanger is not properly initialized
WellsManager(struct Wells* W);
/// Construct from input deck and grid.
/// The permeability argument may be zero if the input contain