mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Deprecated TimeFunction1 usage in favour of Function1
This commit is contained in:
committed by
Mark Olesen
parent
925a2e724b
commit
9194cd5203
@ -56,11 +56,6 @@ void Foam::Function1Types::Polynomial<Type>::checkCoefficients()
|
||||
<< "Polynomial " << this->name() << " cannot be integrated"
|
||||
<< endl;
|
||||
}
|
||||
|
||||
if (this->isTime())
|
||||
{
|
||||
convertTimeBase(this->time());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -50,11 +50,6 @@ Foam::Function1Types::Sine<Type>::Sine
|
||||
{
|
||||
frequency_ = Function1<scalar>::New("frequency", dict);
|
||||
}
|
||||
|
||||
if (this->isTime())
|
||||
{
|
||||
convertTimeBase(this->time());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -134,11 +134,6 @@ void Foam::Function1Types::TableBase<Type>::initialise()
|
||||
prevValue = currValue;
|
||||
++i;
|
||||
}
|
||||
|
||||
if (this->isTime())
|
||||
{
|
||||
convertTimeBase(this->time());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -34,11 +34,6 @@ void Foam::Function1Types::ramp::read(const dictionary& coeffs)
|
||||
{
|
||||
start_ = coeffs.getOrDefault<scalar>("start", 0);
|
||||
coeffs.readEntry("duration", duration_);
|
||||
|
||||
if (isTime())
|
||||
{
|
||||
convertTimeBase(time());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user