20#ifndef OPM_SCHEDULE_TYPES_HPP
21#define OPM_SCHEDULE_TYPES_HPP
24#include <opm/input/eclipse/EclipseState/Phase.hpp>
28enum class InjectorType {
34const std::string InjectorType2String( InjectorType enumValue );
35InjectorType InjectorTypeFromString(
const std::string& stringValue );
40 WellType(
int ecl_wtype,
int welspecs_phase);
41 WellType(
bool producer, Phase welspecs_phase);
42 explicit WellType(Phase welspecs_phase);
45 static WellType serializationTestObject();
47 bool injector()
const;
48 bool producer()
const;
49 bool update(InjectorType injector_type);
50 bool update(
bool producer);
52 static bool oil_injector(
int ecl_wtype);
53 static bool gas_injector(
int ecl_wtype);
54 static bool water_injector(
int ecl_wtype);
55 static bool producer(
int ecl_wtype);
57 int ecl_wtype()
const;
58 int ecl_phase()
const;
59 Phase preferred_phase()
const;
60 InjectorType injector_type()
const;
61 Phase injection_phase()
const;
62 bool operator==(
const WellType& other)
const;
64 template<
class Serializer>
67 serializer(m_producer);
68 serializer(m_injection_phase);
69 serializer(m_welspecs_phase);
87 Phase m_injection_phase;
88 Phase m_welspecs_phase;
Class for (de-)serializing.
Definition Serializer.hpp:84
Definition ScheduleTypes.hpp:38
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition Exceptions.hpp:30