added: support for loading serialized state from .OPMRST file

This commit is contained in:
Arne Morten Kvarving
2023-02-09 12:50:46 +01:00
parent 6c9e887669
commit 72133deadc
5 changed files with 98 additions and 0 deletions

View File

@@ -124,6 +124,11 @@ public:
return this->well_rates.find(wellName) != this->well_rates.end();
}
void clearWellRates()
{
this->well_rates.clear();
}
template<class Communication>
void gatherVectorsOnRoot(const std::vector< data::Connection >& from_connections,
std::vector< data::Connection >& to_connections,