A List of scalarRange. More...
#include <OpenFOAM/scalarRanges.H>
A List of scalarRange.
Definition at line 50 of file scalarRanges.H.
Inheritance diagram for scalarRanges:
Collaboration diagram for scalarRanges:Public Member Functions | |
| scalarRanges () | |
| Construct Null.
| |
| scalarRanges (Istream &) | |
| Construct from Istream.
| |
| bool | selected (const scalar &) const |
| Return true if the given value is within the ranges.
| |
| List< bool > | selected (const List< scalar > &) const |
| Return the set of selected entries in the given list.
| |
| List< scalar > | select (const List< scalar > &) const |
| Select a list of values that are within the ranges.
| |
| void | inplaceSelect (List< scalar > &) const |
| Select a list of values that are within the ranges.
| |
| scalarRanges | ( | ) |
Construct Null.
Definition at line 32 of file scalarRanges.C.
| scalarRanges | ( | Istream & | is ) |
Construct from Istream.
The list items are comma-delimited.
Definition at line 38 of file scalarRanges.C.
References DynamicList< T, SizeInc, SizeMult, SizeDiv >::append(), IOstream::good(), scalarRange::isDefined(), and List< scalarRange >::transfer().
| bool selected | ( | const scalar & | value ) | const |
Return true if the given value is within the ranges.
Definition at line 59 of file scalarRanges.C.
References forAll.
Referenced by timeSelector::selected().
| Foam::List< bool > selected | ( | const List< scalar > & | values ) | const |
Return the set of selected entries in the given list.
that are within the ranges
Definition at line 74 of file scalarRanges.C.
References forAll, List< T >::size(), and timeIndex.
| Foam::List< Foam::scalar > select | ( | const List< scalar > & | values ) | const |
Select a list of values that are within the ranges.
Definition at line 121 of file scalarRanges.C.
References Foam::subset().
| void inplaceSelect | ( | List< scalar > & | values ) | const |
Select a list of values that are within the ranges.
Definition at line 130 of file scalarRanges.C.
References Foam::inplaceSubset().