|
| ClassName ("namedUnitConversion") |
| Run time type information. More...
|
|
| namedUnitConversion (const string &) |
| Construct from name. More...
|
|
| namedUnitConversion (const namedUnitConversion &)=default |
| Copy constructor. More...
|
|
| namedUnitConversion (namedUnitConversion &&)=default |
| Move constructor. More...
|
|
void | read (const word &keyword, const dictionary &) |
| Update. More...
|
|
bool | readIfPresent (const word &keyword, const dictionary &) |
| Update if found in the dictionary. More...
|
|
| ClassName ("unitConversion") |
| Run time type information. More...
|
|
| unitConversion (const dimensionSet &, const scalar fraction, const scalar angle, const scalar multiplier) |
| Construct from components. More...
|
|
| unitConversion (const dimensionSet &) |
| Construct from a dimension set. No dimensionless units. Unity. More...
|
|
| unitConversion (const unitConversion &)=default |
| Copy constructor. More...
|
|
| unitConversion (unitConversion &&)=default |
| Move constructor. More...
|
|
| unitConversion (Istream &is) |
| Construct from stream. More...
|
|
const dimensionSet & | dimensions () const |
| Access the dimensions. More...
|
|
template<class T > |
T | toStandard (const T &) const |
| Convert a value to standard units. More...
|
|
template<class T > |
List< T > | toStandard (const List< T > &) const |
| Convert a list of values to standard units. More...
|
|
template<class T > |
tmp< Field< T > > | toStandard (const Field< T > &) const |
| Convert a field of values to standard units. More...
|
|
template<class T > |
tmp< Field< T > > | toStandard (const tmp< Field< T >> &) const |
| Convert a tmp field of values to standard units. More...
|
|
template<class T > |
void | makeStandard (T &) const |
| Convert a value to standard units. More...
|
|
template<class T > |
void | makeStandard (List< T > &) const |
| Convert a list of values to standard units. More...
|
|
template<class T > |
T | toUser (const T &) const |
| Convert a value to user units. More...
|
|
template<class T > |
List< T > | toUser (const List< T > &) const |
| Convert a list of values to user units. More...
|
|
template<class T > |
tmp< Field< T > > | toUser (const Field< T > &) const |
| Convert a field of values to user units. More...
|
|
template<class T > |
tmp< Field< T > > | toUser (const tmp< Field< T >> &) const |
| Convert a tmp field of values to user units. More...
|
|
bool | any () const |
| Return whether this is the "any" unit. I.e., the case where. More...
|
|
bool | none () const |
| Return whether this is the "none" unit. I.e., the case where unit. More...
|
|
bool | standard () const |
| Return whether this unit is standard. I.e., is its multiplier one? More...
|
|
void | reset (const unitConversion &) |
| Reset the unit conversion. More...
|
|
void | read (const word &keyword, const dictionary &) |
| Update. More...
|
|
bool | readIfPresent (const word &keyword, const dictionary &) |
| Update if found in the dictionary. More...
|
|
bool | readIfPresent (Istream &is) |
| Update if found on the stream. More...
|
|
bool | readIfPresent (const word &keyword, const dictionary &, Istream &is) |
| Update if found on the dictionary stream. More...
|
|
InfoProxy< unitConversion > | info () const |
| Return info proxy. More...
|
|
void | operator= (const unitConversion &)=delete |
| Disallow default bitwise assignment. More...
|
|
void | operator= (const unitConversion &&)=delete |
| Disallow default bitwise move assignment. More...
|
|
template<class T > |
Foam::List< T > | toStandard (const List< T > &l) const |
|
template<class T > |
Foam::tmp< Foam::Field< T > > | toStandard (const Field< T > &f) const |
|
template<class T > |
Foam::tmp< Foam::Field< T > > | toStandard (const tmp< Field< T >> &tf) const |
|
template<class T > |
Foam::List< T > | toUser (const List< T > &l) const |
|
template<class T > |
Foam::tmp< Foam::Field< T > > | toUser (const Field< T > &f) const |
|
template<class T > |
Foam::tmp< Foam::Field< T > > | toUser (const tmp< Field< T >> &tf) const |
|