Merge pull request #5548 from akva2/float_support2

Support float simulators - batch 2
This commit is contained in:
Bård Skaflestad 2024-08-20 18:48:00 +02:00 committed by GitHub
commit e0e60fec8e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 12 additions and 2 deletions

View File

@ -28,9 +28,7 @@
#include <opm/input/eclipse/Schedule/Well/PAvgCalculator.hpp>
#include <opm/input/eclipse/Schedule/Well/WellConnections.hpp>
#include <array>
#include <functional>
#include <initializer_list>
template<class Scalar>
Opm::ParallelPAvgCalculator<Scalar>::
@ -59,3 +57,7 @@ collectGlobalContributions()
}
template class Opm::ParallelPAvgCalculator<double>;
#if FLOW_INSTANTIATE_FLOAT
template class Opm::ParallelPAvgCalculator<float>;
#endif

View File

@ -175,3 +175,7 @@ void Opm::ParallelPAvgDynamicSourceData<Scalar>::defineCommunication()
}
template class Opm::ParallelPAvgDynamicSourceData<double>;
#if FLOW_INSTANTIATE_FLOAT
template class Opm::ParallelPAvgDynamicSourceData<float>;
#endif

View File

@ -375,3 +375,7 @@ makeEvaluationSources(const WellID well) const
}
template class Opm::ParallelWBPCalculation<double>;
#if FLOW_INSTANTIATE_FLOAT
template class Opm::ParallelWBPCalculation<float>;
#endif