OpenLB 1.7
No Matches
Classes | Namespaces | Functions
calc.h File Reference

Some arithmetic helper functions. More...

#include "omath.h"
+ Include dependency graph for calc.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  olb::util::KahanSummator< T >
 Accurate summation of floating point numbers with the Kahan algorithm Reduces round-off effects which arise if the total sum is significantly larger than the single summands. More...


namespace  olb
 Top level namespace for all of OpenLB.
namespace  olb::util


template<typename T , typename S >
auto olb::util::fmod_pos (T a, S b)
 Variant of fmod (floating point modulo) that always returns positive values.

Detailed Description

Some arithmetic helper functions.

Definition in file calc.h.