WellInterfaceFluidSystem: optionally instantiate for float

This commit is contained in:
Arne Morten Kvarving 2024-04-12 13:11:09 +02:00
parent 6fa7f970f0
commit 610abd0b6c

View File

@ -342,6 +342,13 @@ zeroGroupRateTarget(const SummaryState& summary_state,
}
}
template class WellInterfaceFluidSystem<BlackOilFluidSystem<double,BlackOilDefaultIndexTraits>>;
template<class Scalar>
using FS = BlackOilFluidSystem<Scalar,BlackOilDefaultIndexTraits>;
template class WellInterfaceFluidSystem<FS<double>>;
#if FLOW_INSTANTIATE_FLOAT
template class WellInterfaceFluidSystem<FS<float>>;
#endif
} // namespace Opm