Discontinuous Galerkin Library
#include "dg/algorithm.h"
subroutines.h File Reference
#include "dg/topology/functions.h"
#include "dg/backend/config.h"

Go to the source code of this file.

Classes

struct  dg::IDENTITY
 \( f(x) = x\) More...
 
struct  dg::equals
 \( y=x\) More...
 
struct  dg::plus_equals
 \( y=y+x\) More...
 
struct  dg::minus_equals
 \( y=y-x\) More...
 
struct  dg::times_equals
 \( y=xy\) More...
 
struct  dg::divides_equals
 \( y = y/x\) More...
 
struct  dg::divides
 \( y = x_1/x_2 \) More...
 
struct  dg::Sum
 \( y = \sum_i x_i \) More...
 
struct  dg::PairSum
 \( y = \sum_i a_i x_i \) More...
 
struct  dg::TripletSum
 \( y = \sum_i a_i x_i y_i \) More...
 
struct  dg::EmbeddedPairSum
 \( y = \sum_i a_i x_i + b y,\quad \tilde y = \sum_i \tilde a_i x_i + \tilde b y \) More...
 
struct  dg::Evaluate< BinarySub, Functor >
 \( f( y, g(x_0, ..., x_s)) \) More...
 
struct  dg::Scal< T >
 \( y\leftarrow ay \) More...
 
struct  dg::Plus< T >
 \( y\leftarrow y+a \) More...
 
struct  dg::Axpby< T >
 \( y\leftarrow ax+by \) More...
 
struct  dg::AxyPby< T >
 \( y\leftarrow axy+by \) More...
 
struct  dg::Axpbypgz< T >
 \( z\leftarrow ax+by+gz \) More...
 
struct  dg::PointwiseDot< T >
 \( z\leftarrow ax_1y_1+bx_2y_2+gz \) More...
 
struct  dg::PointwiseDivide< T >
 \( z\leftarrow ax/y + bz \) More...
 

Namespaces

namespace  dg
 This is the namespace for all functions and classes defined and used by the discontinuous Galerkin library.
 

Functions

template<class UnaryOp , class Functor >
auto dg::compose (UnaryOp f, Functor g)
 Create Composition functor \( f(g(x_0,x_1,...)) \). More...
 
template<class UnaryOp , typename... Functors>
auto dg::compose (UnaryOp f0, Functors... fs)
 Create Composition funtor of an arbitrary number of functions \( f_0(f_1(f_2( ... f_s(x_0, x_1, ...)))\). More...