44 template <
class Scalar>
56 template <
class Scalar>
62 return std::sqrt(x*y);
73 template <
class Scalar>
79 return (2*x*y)/(y + x);
84 #endif // EWOMS_AVERAGE_HH Scalar harmonicMean(Scalar x, Scalar y)
Computes the harmonic average of two values.
Definition: Means.hpp:74
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition: Exceptions.hpp:30
Scalar arithmeticMean(Scalar x, Scalar y)
Computes the arithmetic average of two values.
Definition: Means.hpp:45
Scalar geometricMean(Scalar x, Scalar y)
Computes the geometric average of two values.
Definition: Means.hpp:57