OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

checkConstantOption.H

Go to the documentation of this file.
00001 //
00002 // checkConstantOption.H
00003 // ~~~~~~~~~~~~~~~~~~~~~
00004 // unless -constant is present, skip startTime if it is "constant"
00005 
00006     if
00007     (
00008         !args.optionFound("constant")
00009      && (startTime < Times.size()-1)
00010      && (Times[startTime].name() == "constant")
00011     )
00012     {
00013         startTime++;
00014     }
Copyright © 2000-2009 OpenCFD Ltd