mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-18 21:43:27 -06:00
WellState: move typedefs into public section and include string.
This commit is contained in:
parent
50bf1d7e62
commit
8163137b2c
@ -22,9 +22,10 @@
|
||||
|
||||
#include <opm/core/wells.h>
|
||||
#include <opm/core/well_controls.h>
|
||||
#include <vector>
|
||||
#include <array>
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <cassert>
|
||||
#include <cstddef>
|
||||
|
||||
@ -34,11 +35,10 @@ namespace Opm
|
||||
/// The state of a set of wells.
|
||||
class WellState
|
||||
{
|
||||
protected:
|
||||
public:
|
||||
typedef std::array< int, 3 > mapentry_t;
|
||||
typedef std::map< std::string, mapentry_t > WellMapType;
|
||||
|
||||
public:
|
||||
/// Allocate and initialize if wells is non-null.
|
||||
/// Also tries to give useful initial values to the bhp() and
|
||||
/// wellRates() fields, depending on controls. The
|
||||
|
Loading…
Reference in New Issue
Block a user