Discontinuous Galerkin Library
#include "dg/algorithm.h"
dg::PointwiseDivide< T > Struct Template Reference

\( z\leftarrow ax/y + bz \) More...

Public Member Functions

 PointwiseDivide (T a, T b)
 
DG_DEVICE void operator() (T y, T &z) const
 \( z = az/y +bz \) More...
 
DG_DEVICE void operator() (T x, T y, T &z) const
 

Detailed Description

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

\( z\leftarrow ax/y + bz \)

Constructor & Destructor Documentation

◆ PointwiseDivide()

template<class T >
dg::PointwiseDivide< T >::PointwiseDivide ( a,
b 
)
inline

Member Function Documentation

◆ operator()() [1/2]

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

◆ operator()() [2/2]

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

\( z = az/y +bz \)


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