15template<
class real_type>
16thrust::host_vector<real_type> abscissas(
const RealGridX1d<real_type>& g)
18 return abscissas(g.grid());
27template<
class UnaryOp,
class real_type>
33template<
class real_type>
34thrust::host_vector<real_type>
evaluate( real_type (f)(real_type),
const RealGridX1d<real_type>& g)
41template<
class BinaryOp,
class real_type>
47template<
class real_type>
48thrust::host_vector<real_type>
evaluate( real_type(f)(real_type, real_type),
const aRealTopologyX2d<real_type>& g)
55template<
class TernaryOp,
class real_type>
61template<
class real_type>
62thrust::host_vector<real_type>
evaluate( real_type(f)(real_type, real_type, real_type),
const aRealTopologyX3d<real_type>& g)
Function discretization routines.
base X-point topology classes
thrust::host_vector< real_type > evaluate(UnaryOp f, const RealGrid1d< real_type > &g)
Evaluate a 1d function on grid coordinates.
Definition: evaluation.h:67
This is the namespace for all functions and classes defined and used by the discontinuous Galerkin li...
1D grid for X-point topology
Definition: gridX.h:68
RealGrid1d< real_type > grid() const
Definition: gridX.h:185
A 2D grid class with X-point topology.
Definition: gridX.h:257
RealGrid2d< real_type > grid() const
Return a copy without topology.
Definition: gridX.h:382
A 3D grid class with X-point topology.
Definition: gridX.h:541
RealGrid3d< real_type > grid() const
Return a copy without topology.
Definition: gridX.h:705