mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
timeSelector: improved functionality
- the improved side-effect of enabling -zeroTimea alters default selection behaviour and -latestTime selection behaviour for utilities in which accidentally using the 0/ directory can cause damage (eg, reconstructPar) - can combine -time ranges and -latestTime
This commit is contained in:
@ -45,8 +45,10 @@ Description
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
// enable -constant ... if someone really wants it
|
||||
// enable -zeroTime to prevent accidentally trashing the initial fields
|
||||
timeSelector::addOptions(true, true);
|
||||
argList::noParallel();
|
||||
timeSelector::addOptions();
|
||||
# include "addRegionOption.H"
|
||||
argList::validOptions.insert("fields", "\"(list of fields)\"");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user