waLBerla 7.3
Loading...
Searching...
No Matches
walberla::math::KahanAccumulator< T > Class Template Reference

#include <KahanSummation.h>

Public Member Functions

 KahanAccumulator ()
void reset ()
void operator+= (const T &number)
get () const

Private Attributes

sum
c

Constructor & Destructor Documentation

◆ KahanAccumulator()

template<typename T>
walberla::math::KahanAccumulator< T >::KahanAccumulator ( )
inline

Member Function Documentation

◆ get()

template<typename T>
T walberla::math::KahanAccumulator< T >::get ( ) const
inline

◆ operator+=()

template<typename T>
void walberla::math::KahanAccumulator< T >::operator+= ( const T & number)
inline

◆ reset()

template<typename T>
void walberla::math::KahanAccumulator< T >::reset ( )
inline

Member Data Documentation

◆ c

template<typename T>
T walberla::math::KahanAccumulator< T >::c
private

◆ sum

template<typename T>
T walberla::math::KahanAccumulator< T >::sum
private

The documentation for this class was generated from the following file:
  • /builds/administration/walberla-website/walberla/src/core/math/KahanSummation.h