Go to the source code of this file.
|
| | Foam |
| | Namespace for OpenFOAM.
|
| |
|
| scalarAndError | operator+ (const scalarAndError &a, const scalarAndError &b) |
| |
| scalarAndError | operator- (const scalarAndError &a, const scalarAndError &b) |
| |
| scalarAndError | operator* (const scalarAndError &a, const scalarAndError &b) |
| |
| scalarAndError | operator/ (const scalarAndError &a, const scalarAndError &b) |
| |
| bool | operator== (const scalarAndError &a, const scalarAndError &b) |
| | Equality compare two scalar-and-error-s. More...
|
| |
| bool | operator!= (const scalarAndError &a, const scalarAndError &b) |
| | Inequality compare two scalar-and-error-s. More...
|
| |
| bool | operator< (const scalarAndError &a, const scalarAndError &b) |
| |
| bool | operator<= (const scalarAndError &a, const scalarAndError &b) |
| |
| bool | operator>= (const scalarAndError &a, const scalarAndError &b) |
| |
| bool | operator> (const scalarAndError &a, const scalarAndError &b) |
| |
| scalarAndError | magSqr (const scalarAndError &sae) |
| | Return the magnitude square of a scalar-and-error. More...
|
| |
| scalarAndError | sqrt (const scalarAndError &sae) |
| | Return the square root of a scalar-and-error. More...
|
| |
| Ostream & | operator<< (Ostream &os, const scalarAndError &sae) |
| | Write a scalar-and-error. More...
|
| |
| Istream & | operator>> (Istream &is, scalarAndError &sae) |
| | Read a scalar-and-error. More...
|
| |
Original source file scalarAndErrorI.H
Definition in file scalarAndErrorI.H.
◆ SCALAR_AND_ERROR_BINARY_OPERATION
| #define SCALAR_AND_ERROR_BINARY_OPERATION |
( |
|
Op | ) |
|
Value: \
inline scalarAndError
operator Op \
( \
const scalarAndError& a, \
const scalarAndError&
b \
) \
{ \
}
const dimensionedScalar c
Speed of light in a vacuum.
Arithmetic operations between two scalar-and-errors.
Definition at line 38 of file scalarAndErrorI.H.
◆ SCALAR_AND_ERROR_BINARY_COMPARE
| #define SCALAR_AND_ERROR_BINARY_COMPARE |
( |
|
Op | ) |
|
Value: \
inline
bool operator Op \
( \
const scalarAndError& a, \
const scalarAndError&
b \
) \
{ \
return a.value
Op b.value; \
}
Comparisons between two scalar-and-errors.
Definition at line 71 of file scalarAndErrorI.H.