37 typedef std::function<
void(
38 const double * __restrict__ Q,
43 double * __restrict__ F
46 typedef std::function<
void(
47 const double * __restrict__ Q,
48 const double * __restrict__ dQdx,
53 double * __restrict__ F
69 typedef std::function<
void(
70 const double * __restrict__ Q,
74 double * __restrict__ S
81 typedef std::function< std::vector<PointSource>(
82 const double * __restrict__ Q,
89 typedef std::function<
double(
90 const double * __restrict__ Q,
103 typedef std::function<
void(
104 const double * __restrict__ Qinside,
105 double * __restrict__ Qoutside,
std::function< double(const double *__restrict__ Q, const tarch::la::Vector< Dimensions, double > &x, double t, double dt, int normal) MaxEigenvalue)
std::function< void(const double *__restrict__ Q, const double *__restrict__ dQdx, const tarch::la::Vector< Dimensions, double > &x, double t, double dt, int normal, double *__restrict__ F) NonConservativeProduct)
std::function< std::vector< PointSource >(const double *__restrict__ Q, const tarch::la::Vector< Dimensions, double > &cellCentre, const tarch::la::Vector< Dimensions, double > &h, double t, double dt) PointSources)
This is the only routine within the DG framework which accepts the dimensions of the underlying cell ...
std::function< void(const double *__restrict__ Qinside, double *__restrict__ Qoutside, const tarch::la::Vector< Dimensions, double > &x, double t, int normal) BoundaryConditions)
std::function< void(const double *__restrict__ Q, const tarch::la::Vector< Dimensions, double > &x, double t, double dt, double *__restrict__ S) Source)
Source functor.
std::function< void(const double *__restrict__ Q, const tarch::la::Vector< Dimensions, double > &x, double t, double dt, int normal, double *__restrict__ F) Flux)
Flux functor.
For the generic kernels that I use here most of the time.
const tarch::la::Vector< Dimensions, double > & x
const double *__restrict__ values