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
6#include "tarch/la/Vector.h"
9
10
11#include <functional>
12
13
14namespace exahype2 {
15 namespace fv {
16 namespace musclhancock {
17 typedef std::function< void(
18 const double * __restrict__ Q,
21 double t,
22 double dt,
23 double * __restrict__ S
24 ) > Source;
25
26 typedef std::function< void(
27 const double * __restrict__ Q,
30 double t,
31 double dt,
32 int normal,
33 double * __restrict__ F
34 ) > Flux;
35
36 typedef std::function< void(
37 const double * __restrict__ Q,
38 const double * __restrict__ deltaQ,
41 double t,
42 double dt,
43 int normal,
44 double * __restrict__ BTimesDeltaQ
46
47 typedef std::function< double(
48 const double * __restrict__ Q,
51 double t,
52 double dt,
53 int normal
55 }
56 }
57}
58
std::function< void(const double *__restrict__ Q, const double *__restrict__ deltaQ, const tarch::la::Vector< Dimensions, double > &faceCentre, const tarch::la::Vector< Dimensions, double > &volumeH, double t, double dt, int normal, double *__restrict__ BTimesDeltaQ) NonconservativeProduct)
Definition Functors.h:45
std::function< void(const double *__restrict__ Q, const tarch::la::Vector< Dimensions, double > &volumeX, const tarch::la::Vector< Dimensions, double > &volumeH, double t, double dt, double *__restrict__ S) Source)
Definition Functors.h:24
std::function< void(const double *__restrict__ Q, const tarch::la::Vector< Dimensions, double > &faceCentre, const tarch::la::Vector< Dimensions, double > &volumeH, double t, double dt, int normal, double *__restrict__ F) Flux)
Definition Functors.h:34
std::function< double(const double *__restrict__ Q, const tarch::la::Vector< Dimensions, double > &faceCentre, const tarch::la::Vector< Dimensions, double > &volumeH, double t, double dt, int normal) MaxEigenvalue)
Definition Functors.h:54
For the generic kernels that I use here most of the time.
Definition CellAccess.h:13
Definition fv.py:1
Simple vector class.
Definition Vector.h:150