mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-14 16:23:25 -06:00
GroupEconomicLimitsChecker: optionally instantiate for float
This commit is contained in:
parent
1514b466d8
commit
cd9e8c8c6c
@ -400,10 +400,15 @@ template<class Scalar>
|
||||
void GroupEconomicLimitsChecker<Scalar>::
|
||||
throwNotImplementedError(const std::string& error) const
|
||||
{
|
||||
const std::string msg = fmt::format("Group: {} : GECON : {} not implemented", this->group_.name(), error);
|
||||
const std::string msg = fmt::format("Group: {} : GECON : {} not implemented",
|
||||
this->group_.name(), error);
|
||||
OPM_DEFLOG_THROW(std::runtime_error, msg, this->deferred_logger_);
|
||||
}
|
||||
|
||||
template class GroupEconomicLimitsChecker<double>;
|
||||
|
||||
#if FLOW_INSTANTIATE_FLOAT
|
||||
template class GroupEconomicLimitsChecker<float>;
|
||||
#endif
|
||||
|
||||
} // namespace Opm
|
||||
|
Loading…
Reference in New Issue
Block a user