20 #ifndef OPM_ALQ_STATE_HEADER_INCLUDED
21 #define OPM_ALQ_STATE_HEADER_INCLUDED
33 std::size_t pack_size()
const;
34 std::size_t unpack_data(
const double * data);
35 std::size_t pack_data(
double * data)
const;
37 double get(
const std::string& wname)
const;
38 void update_default(
const std::string& wname,
double value);
39 void set(
const std::string& wname,
double value);
40 bool oscillation(
const std::string& wname)
const;
41 void update_count(
const std::string& wname,
bool increase);
43 int get_increment_count(
const std::string& wname)
const;
44 int get_decrement_count(
const std::string& wname)
const;
47 std::map<std::string, double> current_alq_;
48 std::map<std::string, double> default_alq_;
49 std::map<std::string, int> alq_increase_count_;
50 std::map<std::string, int> alq_decrease_count_;
Definition: ALQState.hpp:30
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition: BlackoilPhases.hpp:26