mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Refactored TimeFunction1 - now possible using Function1 directly
This commit is contained in:
committed by
Mark Olesen
parent
b9b011f5ea
commit
f29eb55cee
@ -56,6 +56,11 @@ void Foam::Function1Types::Polynomial<Type>::checkCoefficients()
|
||||
<< "Polynomial " << this->name() << " cannot be integrated"
|
||||
<< endl;
|
||||
}
|
||||
|
||||
if (this->isTime())
|
||||
{
|
||||
convertTimeBase(this->time());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user