Peano
Loading...
Searching...
No Matches
Functors.h
Go to the documentation of this file.
1// This file is part of the ExaHyPE2 project. For conditions of distribution and
2// use, please see the copyright notice at www.peano-framework.org
3#pragma once
4
5#include <functional>
6
8#include "tarch/la/Vector.h"
10
11namespace exahype2::fv::rusanov {
12 typedef std::function<
13 void(const double* __restrict__ Q, const tarch::la::Vector<Dimensions, double>& x, const tarch::la::Vector<Dimensions, double>& h, double t, double dt, double* __restrict__ S)>
15
16
17 typedef std::function<void(
18 const double* __restrict__ Q,
21 double t,
22 double dt,
23 int normal,
24 double* __restrict__ F
25 )>
27
28
29 typedef std::function<void(
30 const double* __restrict__ Q,
31 const double* __restrict__ deltaQ,
34 double t,
35 double dt,
36 int normal,
37 double* __restrict__ BTimesDeltaQ
38 )>
40
41
42 typedef std::function<
43 double(const double* __restrict__ Q, const tarch::la::Vector<Dimensions, double>& x, const tarch::la::Vector<Dimensions, double>& h, double t, double dt, int normal)>
45} // namespace exahype2::fv::rusanov
std::function< void(const double *__restrict__ Q, const tarch::la::Vector< Dimensions, double > &x, const tarch::la::Vector< Dimensions, double > &h, double t, double dt, double *__restrict__ S) SourceFunctor)
Definition Functors.h:14
std::function< double(const double *__restrict__ Q, const tarch::la::Vector< Dimensions, double > &x, const tarch::la::Vector< Dimensions, double > &h, double t, double dt, int normal) MaxEigenvalueFunctor)
Definition Functors.h:44
std::function< void(const double *__restrict__ Q, const double *__restrict__ deltaQ, const tarch::la::Vector< Dimensions, double > &x, const tarch::la::Vector< Dimensions, double > &h, double t, double dt, int normal, double *__restrict__ BTimesDeltaQ) NonconservativeProductFunctor)
Definition Functors.h:39
std::function< void(const double *__restrict__ Q, const tarch::la::Vector< Dimensions, double > &x, const tarch::la::Vector< Dimensions, double > &h, double t, double dt, int normal, double *__restrict__ F) FluxFunctor)
Definition Functors.h:26
Simple vector class.
Definition Vector.h:134