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

\( y\leftarrow y+a \) More...

Public Member Functions

 Plus (T a)
 
DG_DEVICE void operator() (T &y) const
 

Detailed Description

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

\( y\leftarrow y+a \)

Constructor & Destructor Documentation

◆ Plus()

template<class T >
dg::Plus< T >::Plus ( a)
inline

Member Function Documentation

◆ operator()()

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

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