|
|
|
timeSelector Class ReferenceA List of scalarRange for selecting times. More...
Inheritance diagram for timeSelector:
![]()
Collaboration diagram for timeSelector:
![]()
Detailed DescriptionA List of scalarRange for selecting times.The timeSelector provides a convenient means of selecting multiple times. A typical use would be the following:
timeSelector::addOptions();
// add other options
#include "setRootCase.H"
#include "createTime.H"
instantList timeDirs = timeSelector::select0(runTime, args);
...
forAll(timeDirs, timeI)
{
...
}
The result program would receive -time, -latestTime, -constant and -noZero options. The -constant option explicitly includes the
There may however also be many cases in which neither the
timeSelector::addOptions(false, true);
The first argument avoids adding the -constant option. The second argument adds an additional -zeroTime option and also prevents the
Definition at line 85 of file timeSelector.H. Constructor & Destructor Documentation
Member Function Documentation
Return true if the given instant is within the ranges.
Definition at line 40 of file timeSelector.C. Referenced by timeSelector::selected().
Here is the caller graph for this function:
![]()
Return the set of selected instants in the given list that are. within the ranges Definition at line 46 of file timeSelector.C. References timeSelector::selected(), and instant::value().
Here is the call graph for this function:
![]()
Select a list of Time values that are within the ranges.
Definition at line 93 of file timeSelector.C. Select a list of Time values that are within the ranges.
Definition at line 102 of file timeSelector.C. References Foam::subset().
Here is the call graph for this function:
![]()
Add the options handled by timeSelector to argList::validOptions.
Definition at line 111 of file timeSelector.C. References Foam::inplaceSubset().
Here is the call graph for this function:
![]()
Return the set of times selected based on the argList options.
Definition at line 131 of file timeSelector.C.
Return the set of times selected based on the argList options. also set the runTime to the first instance Definition at line 223 of file timeSelector.C.
The documentation for this class was generated from the following files:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||