From df0a9a405599bc233490808edff980de68d1d013 Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Tue, 16 Apr 2024 13:08:56 +0200 Subject: [PATCH] MultisegmentWellContribution: optionally instantiate for float --- opm/simulators/linalg/bda/MultisegmentWellContribution.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/opm/simulators/linalg/bda/MultisegmentWellContribution.cpp b/opm/simulators/linalg/bda/MultisegmentWellContribution.cpp index 5c18543e0..1d4dfd109 100644 --- a/opm/simulators/linalg/bda/MultisegmentWellContribution.cpp +++ b/opm/simulators/linalg/bda/MultisegmentWellContribution.cpp @@ -137,5 +137,9 @@ void MultisegmentWellContribution::setCudaStream(cudaStream_t stream_) template class MultisegmentWellContribution; +#if FLOW_INSTANTIATE_FLOAT +template class MultisegmentWellContribution; +#endif + } //namespace Opm