BlackoilWellModelGeneric: template Scalar type

This commit is contained in:
Arne Morten Kvarving
2024-02-17 18:13:46 +01:00
parent 3d381bac91
commit f0e7f8842b
12 changed files with 394 additions and 383 deletions

View File

@@ -29,7 +29,7 @@
namespace Opm {
class BlackoilWellModelGeneric;
template<class Scalar> class BlackoilWellModelGeneric;
class DeferredLogger;
template<class Scalar> class GroupState;
class SummaryState;
@@ -41,7 +41,7 @@ class BlackoilWellModelConstraints
{
public:
//! \brief Constructor initializes reference to the well model.
BlackoilWellModelConstraints(const BlackoilWellModelGeneric& wellModel)
BlackoilWellModelConstraints(const BlackoilWellModelGeneric<Scalar>& wellModel)
: wellModel_(wellModel)
{}
@@ -93,7 +93,7 @@ private:
const int reportStepIdx,
DeferredLogger& deferred_logger) const;
const BlackoilWellModelGeneric& wellModel_; //!< Reference to well model
const BlackoilWellModelGeneric<Scalar>& wellModel_; //!< Reference to well model
};
} // namespace Opm