Discontinuous Galerkin Library
#include "dg/algorithm.h"

\( z\leftarrow ax_1y_1+bx_2y_2+gz \) More...

Public Member Functions

 PointwiseDot (T a, T b, T g=(T) 0)
 
DG_DEVICE void operator() (T x, T y, T &z) const
 \( z = axy+bz \) More...
 
DG_DEVICE void operator() (T x1, T x2, T x3, T &y) const
 \( y = ax_1x_2x_3 +by \) More...
 
DG_DEVICE void operator() (T x1, T y1, T x2, T y2, T &z) const
 \( z = ax_1y_1+bx_2y_2+gz \) More...
 

Detailed Description

template<class T>
struct dg::PointwiseDot< T >

\( z\leftarrow ax_1y_1+bx_2y_2+gz \)

Constructor & Destructor Documentation

◆ PointwiseDot()

template<class T >
dg::PointwiseDot< T >::PointwiseDot ( a,
b,
g = (T)0 
)
inline

Member Function Documentation

◆ operator()() [1/3]

template<class T >
DG_DEVICE void dg::PointwiseDot< T >::operator() ( x,
y,
T &  z 
) const
inline

\( z = axy+bz \)

◆ operator()() [2/3]

template<class T >
DG_DEVICE void dg::PointwiseDot< T >::operator() ( x1,
x2,
x3,
T &  y 
) const
inline

\( y = ax_1x_2x_3 +by \)

◆ operator()() [3/3]

template<class T >
DG_DEVICE void dg::PointwiseDot< T >::operator() ( x1,
y1,
x2,
y2,
T &  z 
) const
inline

\( z = ax_1y_1+bx_2y_2+gz \)


The documentation for this struct was generated from the following file: