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
25
26 typedef std::function< void(
27 const double * __restrict__ Q,
30 double t,
31 double dt,
32 int normal,
33 double * __restrict__ F
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< void(
48 const double * __restrict__ Q,
51 double t,
52 double dt,
53 int normal,
54 double* __restrict__ maxEigenvalue
56 }
57 }
58}
59
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) SourceFunctor)
Definition Functors.h:24
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) NonconservativeProductFunctor)
Definition Functors.h:45
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__ maxEigenvalue) MaxEigenvalueFunctor)
Definition Functors.h:55
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) FluxFunctor)
Definition Functors.h:34
This file is part of the multigrid project within Peano 4.
Definition __init__.py:1
Definition fv.py:1
Simple vector class.
Definition Vector.h:159