mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
- relocate some standard functionality to TimePaths to allow a lighter means of managing time directories without using the entire Time mechanism. - optional enableLibs for Time construction (default is on) and a corresponding argList::noLibs() and "-no-libs" option STYLE: - mark Time::outputTime() as deprecated MAY-2016 - use pre-increment for runTime, although there is no difference in behaviour or performance.
12 lines
201 B
C
12 lines
201 B
C
// Unless -constant is present, skip startTime if it is "constant"
|
|
|
|
if
|
|
(
|
|
!args.found("constant")
|
|
&& (startTime < Times.size()-1)
|
|
&& (Times[startTime].name() == "constant")
|
|
)
|
|
{
|
|
++startTime;
|
|
}
|