37 #ifndef scalarAndError_H
38 #define scalarAndError_H
Class to handle errors and exceptions in a simple, consistent stream-based manner.
Class to encapsulate a scalar value and an associated round-off error. The error is tracked through o...
scalarAndError()
Default construct.
void operator*=(const scalarAndError &sae)
Multiply another scalar-and-error with this one.
static const direction rank
Rank of scalarAndError is 0.
void operator+=(const scalarAndError &sae)
Add another scalar-and-error to this one.
static const direction nComponents
Number of components in scalarAndError is 1.
static const direction dim
Dimensionality of space.
void operator-=(const scalarAndError &sae)
Subtract another scalar-and-error from this one.
void operator/=(const scalarAndError &sae)
Divide this scalar-and-error by another.
scalarAndError cmptType
Component type.
scalarAndError operator-() const
Negate.
A class representing the concept of 0 used to avoid unnecessary manipulations for objects that are kn...
Template function to specify if the data of a type are contiguous.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
bool contiguous< scalarAndError >()
Data associated with the scalar-and-error type is contiguous.
dimensioned< scalar > mag(const dimensioned< Type > &)