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;
45 void set_debug_counter(
int value);
46 int get_debug_counter();
47 int update_debug_counter();
50 std::map<std::string, double> current_alq_;
51 std::map<std::string, double> default_alq_;
52 std::map<std::string, int> alq_increase_count_;
53 std::map<std::string, int> alq_decrease_count_;
54 int debug_counter_ = 0;
Definition: ALQState.hpp:30
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition: BlackoilPhases.hpp:27