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

scalarRanges Class Reference

A List of scalarRange. More...

Inheritance diagram for scalarRanges:
Collaboration diagram for scalarRanges:

List of all members.


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.

Detailed Description

A List of scalarRange.

Source files

Definition at line 45 of file scalarRanges.H.


Constructor & Destructor Documentation

scalarRanges (  ) 

Construct Null.

Definition at line 24 of file scalarRanges.C.

scalarRanges ( Istream &  is  ) 

Construct from Istream.

The list items are comma-delimited.

Definition at line 30 of file scalarRanges.C.


Member Function Documentation

bool selected ( const scalar &  value  )  const

Return true if the given value is within the ranges.

Definition at line 51 of file scalarRanges.C.

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 66 of file scalarRanges.C.

Foam::List< Foam::scalar > select ( const List< scalar > &  values  )  const

Select a list of values that are within the ranges.

Definition at line 113 of file scalarRanges.C.

void inplaceSelect ( List< scalar > &  values  )  const

Select a list of values that are within the ranges.

Definition at line 122 of file scalarRanges.C.

References Foam::subset().

Here is the call graph for this function:


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd