Peano
Loading...
Searching...
No Matches
EulerFVSmooth.h
Go to the documentation of this file.
1
2// This file is part of the ExaHyPE2 project. For conditions of distribution and
3// use, please see the copyright notice at www.peano-framework.org
4#pragma once
5
7
8
9namespace benchmarks {
10 namespace exahype2 {
11 namespace euler {
12 namespace smooth_convergence_test {
13
14 class EulerFVSmooth;
15
16}}}}
17
18
19class benchmarks::exahype2::euler::smooth_convergence_test::EulerFVSmooth: public benchmarks::exahype2::euler::smooth_convergence_test::AbstractEulerFVSmooth {
20 public:
21 EulerFVSmooth() = default;
22
23 virtual void flux(
24 const double* __restrict__ Q, const tarch::la::Vector<Dimensions, double>& x, int normal, double* __restrict__ F
25 ) override;
26
27 virtual void maxEigenvalue(
28 const double* __restrict__ Q, const tarch::la::Vector<Dimensions, double>& x, int normal, double* __restrict__ lambdaMax
29 ) override;
30
37 virtual void initPointWisely(
38 const tarch::la::Vector<Dimensions, double>& x, double* __restrict__ Q
39 ) override;
40
49 const tarch::la::Vector<Dimensions, double>& x, double t, double* __restrict__ Q
50 ) override;
51};
52
virtual void flux(const double *__restrict__ Q, const tarch::la::Vector< Dimensions, double > &x, int normal, double *__restrict__ F) override
virtual void maxEigenvalue(const double *__restrict__ Q, const tarch::la::Vector< Dimensions, double > &x, int normal, double *__restrict__ lambdaMax) override
virtual void dirichletBoundaryConditions(const tarch::la::Vector< Dimensions, double > &x, double t, double *__restrict__ Q) override
Prescribe the exact solution outside of the domain: The density wave is advected with constant veloci...
virtual void initPointWisely(const tarch::la::Vector< Dimensions, double > &x, double *__restrict__ Q) override
Smooth density wave advected in x, constant pressure - same closed-form initial condition the legacy,...
Definition euler.py:1
This file is part of the ExaHyPE 2 project within Peano 4.
Definition __init__.py:1
Simple vector class.
Definition Vector.h:159