BlackoilWellModelGeneric: optionally instantiate for float

BlackoilWellModelRestart: optionally instantiate for float
these need to be in the same commit due to circular dependencies
This commit is contained in:
Arne Morten Kvarving
2024-04-12 13:11:09 +02:00
parent dcbd1c7baf
commit bc1fd4f01c
2 changed files with 8 additions and 0 deletions

View File

@@ -1868,4 +1868,8 @@ updateInjFCMult(DeferredLogger& deferred_logger)
template class BlackoilWellModelGeneric<double>;
#if FLOW_INSTANTIATE_FLOAT
template class BlackoilWellModelGeneric<float>;
#endif
}

View File

@@ -269,4 +269,8 @@ loadRestartData(const data::Wells& rst_wells,
template class BlackoilWellModelRestart<double>;
#if FLOW_INSTANTIATE_FLOAT
template class BlackoilWellModelRestart<float>;
#endif
} // namespace Opm