mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-03 21:50:27 -06:00
GenericOutputBlackoilModule: optionally instantiate for float
This commit is contained in:
parent
aadc5cb69c
commit
6a364ea961
@ -1660,6 +1660,15 @@ assignGlobalFieldsToSolution(data::Solution& sol)
|
||||
}
|
||||
}
|
||||
|
||||
template class GenericOutputBlackoilModule<BlackOilFluidSystem<double,BlackOilDefaultIndexTraits>>;
|
||||
template<class T> using FS = BlackOilFluidSystem<T,BlackOilDefaultIndexTraits>;
|
||||
|
||||
#define INSTANTIATE_TYPE(T) \
|
||||
template class GenericOutputBlackoilModule<FS<T>>;
|
||||
|
||||
INSTANTIATE_TYPE(double)
|
||||
|
||||
#if FLOW_INSTANTIATE_FLOAT
|
||||
INSTANTIATE_TYPE(float)
|
||||
#endif
|
||||
|
||||
} // namespace Opm
|
||||
|
Loading…
Reference in New Issue
Block a user