mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Function1 - added some missing time conversions
This commit is contained in:
@ -58,6 +58,13 @@ void Foam::Function1Types::ramp::writeEntries(Ostream& os) const
|
||||
}
|
||||
|
||||
|
||||
void Foam::Function1Types::ramp::convertTimeBase(const Time& t)
|
||||
{
|
||||
start_ = t.timeToUserTime(start_);
|
||||
duration_ = t.timeToUserTime(duration_);
|
||||
}
|
||||
|
||||
|
||||
void Foam::Function1Types::ramp::writeData(Ostream& os) const
|
||||
{
|
||||
Function1<scalar>::writeData(os);
|
||||
|
||||
Reference in New Issue
Block a user