Peano
Loading...
Searching...
No Matches
BoundaryConditions.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
7#include "tarch/la/Vector.h"
9
10
11#include <functional>
12
13
14namespace exahype2 {
15 namespace fv {
25 std::function< void(
26 const double* __restrict__ Qinside,
27 double * __restrict__ Qoutside,
30 double t,
31 double dt,
32 int normal
33 ) > boundaryCondition,
36 double t,
37 double dt,
38 int numberOfVolumesPerAxisInPatch,
39 int overlap,
40 int unknowns,
41 int faceNumber,
42 double* __restrict__ Q
43 );
44 }
45}
46
47
void applyBoundaryConditions(std::function< void(const double *__restrict__ Qinside, double *__restrict__ Qoutside, const tarch::la::Vector< Dimensions, double > &faceCentre, const tarch::la::Vector< Dimensions, double > &volumeH, double t, double dt, int normal) > boundaryCondition, const tarch::la::Vector< Dimensions, double > &faceCentre, const tarch::la::Vector< Dimensions, double > &patchSize, double t, double dt, int numberOfVolumesPerAxisInPatch, int overlap, int unknowns, int faceNumber, double *__restrict__ Q)
Apply boundary conditions.
This file is part of the ExaHyPE 2 project within Peano 4.
Definition __init__.py:1
Simple vector class.
Definition Vector.h:159