mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Function1's - added objectRegistry access
This commit is contained in:
committed by
Mark Olesen
parent
889bc171d9
commit
098aec4962
@ -6,7 +6,7 @@
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
Copyright (C) 2013-2016 OpenFOAM Foundation
|
||||
Copyright (C) 2016-2020 OpenCFD Ltd.
|
||||
Copyright (C) 2016-2021 OpenCFD Ltd.
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
This file is part of OpenFOAM.
|
||||
@ -92,7 +92,7 @@ bool Foam::functionObjects::setTimeStepFunctionObject::read
|
||||
{
|
||||
timeFunctionObject::read(dict);
|
||||
|
||||
timeStepPtr_ = Function1<scalar>::New("deltaT", dict);
|
||||
timeStepPtr_ = Function1<scalar>::New("deltaT", dict, &time_);
|
||||
|
||||
// Ensure that adjustTimeStep is active
|
||||
if (!time_.controlDict().getOrDefault("adjustTimeStep", false))
|
||||
|
||||
Reference in New Issue
Block a user