Peano
Loading...
Searching...
No Matches
LopsidedAdvection.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"
7
9
10
11namespace exahype2 {
12 namespace fd {
63 const double* __restrict__ QWithHalo,
64 double* __restrict__ rightHandSide,
66 int numberOfGridCellsPerPatchPerAxis,
67 int haloSize,
68 int unknowns,
69 int auxiliaryVariables,
70 const int* velocity,
71 const int* quantities,
72 int numberOfQuantities
73 );
74 }
75}
void addLopsidedAdvection(const double *__restrict__ QWithHalo, double *__restrict__ rightHandSide, const tarch::la::Vector< Dimensions, double > &patchSize, int numberOfGridCellsPerPatchPerAxis, int haloSize, int unknowns, int auxiliaryVariables, const int *velocity, const int *quantities, int numberOfQuantities)
Add advection terms discretised through lopsided stencils to the right-hand side of a patch.
This file is part of the ExaHyPE 2 project within Peano 4.
Definition __init__.py:1
Simple vector class.
Definition Vector.h:159