Add methods for getting and setting primary variables.

These can be used to manage state in the well models, and will
be used in the NLDD solver option. Also added the setupDomains()
method, as the getters and setters are working on a domain basis.
This commit is contained in:
Atgeirr Flø Rasmussen
2023-06-13 12:58:07 +02:00
parent 6afda71480
commit bc9cfc8cd5
9 changed files with 206 additions and 4 deletions

View File

@@ -253,6 +253,9 @@ namespace Opm
double* connII,
DeferredLogger& deferred_logger) const;
std::vector<double> getPrimaryVars() const override;
int setPrimaryVars(std::vector<double>::const_iterator it) override;
protected:
bool regularize_;