|
Discontinuous Galerkin Library
#include "dg/algorithm.h"
|
Function discretization routines. More...
#include <cassert>#include <cmath>#include <thrust/host_vector.h>#include "dg/backend/config.h"#include "grid.h"#include "operator.h"Go to the source code of this file.
Namespaces | |
| namespace | dg |
| This is the namespace for all functions and classes defined and used by the discontinuous Galerkin library. | |
Functions | |
| template<class Functor , class Topology > | |
| auto | dg::evaluate (Functor &&f, const Topology &g) |
| Evaluate a function on grid coordinates | |
| template<class real_type > | |
| thrust::host_vector< real_type > | dg::integrate (const thrust::host_vector< real_type > &in, const RealGrid< real_type, 1 > &g, dg::direction dir=dg::forward) |
| Indefinite integral of a function on a grid. | |
| template<class UnaryOp , class real_type > | |
| thrust::host_vector< real_type > | dg::integrate (UnaryOp f, const RealGrid< real_type, 1 > &g, dg::direction dir=dg::forward) |
| Untility shortcut. | |
Function discretization routines.