Discontinuous Galerkin Library
#include "dg/algorithm.h"
Loading...
Searching...
No Matches
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::Sum
 \( y = \sum_i x_i \) More...
 
struct  dg::Product
 \( y = \prod_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 b_i x_i + b_0 y,\quad \tilde y = \sum_i \tilde b_i x_i + \tilde b_0 y \) 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,...)) \).
 
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, ...)))\).