58 const T& tolerance = small
61 return (
mag(a ^ b) < tolerance) ? true :
false;
75 const T& tolerance = small
78 return (
mag(a & b) < tolerance) ? true :
false;
89 return ((a & b) > 0) ? true :
false;
100 return ((a & b) < 0) ? true :
false;
109 const T& tolerance = small
115 return min(
max(cosPhi, -1), 1);
124 const T& tolerance = small
139 const T& tolerance = small
dimensionedScalar acos(const dimensionedScalar &ds)
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
scalar radToDeg(const scalar rad)
Conversion from radians to degrees.
Unit conversion functions.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m K].
layerAndWeight min(const layerAndWeight &a, const layerAndWeight &b)
Templated 3D Vector derived from VectorSpace adding construction from 3 components, element access using x(), y() and z() member functions and the inner-product (dot-product) and cross product operators.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
dimensioned< scalar > mag(const dimensioned< Type > &)