49 static RunCount from_string(std::string run_count);
50 static PyAction serializationTestObject();
52 PyAction(std::shared_ptr<const Python> python,
const std::string& name, RunCount run_count,
const std::string& module_file);
55 std::size_t report_step,
57 const std::function<
void(
const std::string&,
const std::vector<std::string>&)>& actionx_callback,
58 const std::unordered_map<std::string, double>& target_wellpi = {})
const;
59 const std::string& name()
const;
60 bool ready(
const State& state)
const;
61 bool operator==(
const PyAction& other)
const;
63 template<
class Serializer>
67 serializer(m_run_count);
68 serializer(module_file);
71 static bool valid_keyword(
const std::string& keyword);
74 void update(
bool result)
const;
76 mutable std::shared_ptr< PyRunModule > run_module;
78 RunCount m_run_count{RunCount::single};
79 std::string module_file;
80 mutable bool m_active =
true;
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition Exceptions.hpp:30