SegmentState: template Scalar type

This commit is contained in:
Arne Morten Kvarving
2024-02-17 18:13:46 +01:00
parent d350049876
commit e46e52f3dc
8 changed files with 54 additions and 39 deletions

View File

@@ -864,7 +864,7 @@ accelerationPressureLossContribution(const int seg,
template <class FluidSystem, class Indices>
void
MultisegmentWellSegments<FluidSystem,Indices>::
copyPhaseDensities(const PhaseUsage& pu, SegmentState& segSol) const
copyPhaseDensities(const PhaseUsage& pu, SegmentState<Scalar>& segSol) const
{
auto* rho = segSol.phase_density.data();