|
|
|
interpolationTable< Type > Class Template ReferenceA list of times and values. The time values must be positive and monotonically increasing. More...
Inheritance diagram for interpolationTable< Type >:
![]()
Collaboration diagram for interpolationTable< Type >:
![]()
Detailed Descriptiontemplate<class Type>
A list of times and values. The time values must be positive and monotonically increasing.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| enum boundsHandling |
Enumeration for handling out-of-bound values.
| ERROR | Exit with a FatalError |
| WARN | Issue warning and clamp value (default) |
| CLAMP | Clamp value to the start/end value |
| REPEAT | Treat as a repeating list |
Definition at line 66 of file interpolationTable.H.
| interpolationTable | ( | ) | [inline] |
| interpolationTable | ( | const List< Tuple2< scalar, Type > > & | values, | |
| const boundsHandling | bounds, | |||
| const fileName & | fName | |||
| ) | [inline] |
| interpolationTable | ( | const fileName & | fName | ) | [inline] |
Construct given the name of the file containing the table of data.
Definition at line 75 of file interpolationTable.C.
| interpolationTable | ( | const dictionary & | dict | ) | [inline] |
Construct by reading the fileName and boundsHandling from dictionary.
and read the table from that file. This is a specialised constructor used by patchFields
Definition at line 86 of file interpolationTable.C.
| interpolationTable | ( | const interpolationTable< Type > & | interpTable | ) | [inline] |
| Foam::word boundsHandlingToWord | ( | const boundsHandling & | bound | ) | const [inline] |
| Foam::interpolationTable< Type >::boundsHandling wordToBoundsHandling | ( | const word & | bound | ) | const [inline] |
Return the out-of-bounds handling as an enumeration.
Definition at line 150 of file interpolationTable.C.
| Foam::interpolationTable< Type >::boundsHandling outOfBounds | ( | const boundsHandling & | bound | ) | [inline] |
Set the out-of-bounds handling from enum, return previous setting.
Definition at line 185 of file interpolationTable.C.
| void check | ( | ) | const [inline] |
Check that list is monotonically increasing.
Exit with a FatalError if there is a problem
Definition at line 196 of file interpolationTable.C.
| void write | ( | Ostream & | os | ) | const [inline] |
| const Foam::Tuple2< Foam::scalar, Type > & operator[] | ( | const label | i | ) | const [inline] |
Return an element of constant Tuple2<scalar, Type>.
Reimplemented from UList< Tuple2< scalar, Type > >.
Definition at line 235 of file interpolationTable.C.