Struct containing two unitSets for use in converting both the argument and the value of a Function1. More...

Public Member Functions | |
| unitSets (std::initializer_list< unitSet >) | |
| Construct from initialiser list. More... | |
| unitSets (Istream &is) | |
| Construct from stream. More... | |
| void | read (Istream &is) |
| Update from stream. More... | |
Public Attributes | |
| unitSet | x |
| Unit conversion for x-axis values. More... | |
| unitSet | value |
| Unit conversion for result values. More... | |
Struct containing two unitSets for use in converting both the argument and the value of a Function1.
Definition at line 51 of file Function1UnitSets.H.
Construct from initialiser list.
Definition at line 30 of file Function1UnitSets.C.
References unitSet::reset(), unitSets::value, and unitSets::x.

Construct from stream.
Definition at line 41 of file Function1UnitSets.C.
| void read | ( | Istream & | is | ) |
Update from stream.
Definition at line 52 of file Function1UnitSets.C.
References Istream::readBegin(), Istream::readEnd(), and x.
Referenced by Embedded< Coordinate, Value >::read().


| unitSet x |
Unit conversion for x-axis values.
Definition at line 56 of file Function1UnitSets.H.
Referenced by Foam::assertNoConvertUnits(), TableReader< Coordinate, Value >::convertRead(), TableReader< Coordinate, Value >::convertWrite(), normalise::normalise(), unitSets::unitSets(), normalise::write(), Ramp< Function1Type >::write(), Repeat< Type >::write(), Scale< Type >::write(), Shift< Type >::write(), Sine< Type >::write(), Square< Type >::write(), and squarePulse::write().
| unitSet value |
Unit conversion for result values.
Definition at line 59 of file Function1UnitSets.H.
Referenced by Foam::assertNoConvertUnits(), Constant< scalar >::Constant(), TableReader< Coordinate, Value >::convertRead(), TableReader< Coordinate, Value >::convertWrite(), and unitSets::unitSets().