WellInterfaceIndices: use Scalar type

This commit is contained in:
Arne Morten Kvarving 2024-02-20 09:05:09 +01:00
parent 3067e56182
commit 5dfb926643
2 changed files with 3 additions and 4 deletions

View File

@ -91,7 +91,7 @@ modelCompIdxToFlowCompIdx(const unsigned compIdx) const
}
template<class FluidSystem, class Indices>
double
typename WellInterfaceIndices<FluidSystem,Indices>::Scalar
WellInterfaceIndices<FluidSystem,Indices>::
scalingFactor(const int phaseIdx) const
{

View File

@ -27,8 +27,7 @@
#include <opm/simulators/wells/WellInterfaceFluidSystem.hpp>
namespace Opm
{
namespace Opm {
template<class FluidSystem, class Indices>
class WellInterfaceIndices : public WellInterfaceFluidSystem<FluidSystem>
@ -42,7 +41,7 @@ public:
int flowPhaseToModelCompIdx(const int phaseIdx) const;
int modelCompIdxToFlowCompIdx(const unsigned compIdx) const;
double scalingFactor(const int phaseIdx) const;
Scalar scalingFactor(const int phaseIdx) const;
template <class EvalWell>
Eval restrictEval(const EvalWell& in) const