ENH: Refactored TimeFunction1 - now possible using Function1 directly

This commit is contained in:
Andrew Heather
2021-10-13 21:30:46 +01:00
committed by Mark Olesen
parent b9b011f5ea
commit f29eb55cee
9 changed files with 27 additions and 6 deletions

View File

@ -56,6 +56,11 @@ void Foam::Function1Types::Polynomial<Type>::checkCoefficients()
<< "Polynomial " << this->name() << " cannot be integrated"
<< endl;
}
if (this->isTime())
{
convertTimeBase(this->time());
}
}