Peano
Loading...
Searching...
No Matches
Riemann.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#include <vector>
6
7#include "DGUtils.h"
8#include "Functors.h"
9
10#include "tarch/la/Vector.h"
12
14#include "peano4/utils/Loop.h"
16
17namespace exahype2 {
18 namespace dg {
94 int order,
95 int unknowns,
96 const double* __restrict__ InterpolationMatrix1d,
97 const double* __restrict__ coarseGridFaceQ,
98 double* __restrict__ fineGridFaceQ
99 );
100
144 int order,
145 int numberOfProjectedQuantities,
146 int unknowns,
147 int auxiliaryVariables,
148 const double* __restrict__ RestrictionMatrix1d,
149 const double* __restrict__ fineGridFaceQ,
150 double* __restrict__ coarseGridFaceQ
151 );
152
201 const double* __restrict__ cellQ,
202 int order,
203 int unknowns,
204 int auxiliaryVariables,
205 const double* const __restrict__ BasisFunctionValuesLeft,
206 double* const __restrict__ faceQLeft,
207 double* const __restrict__ faceQRight,
208 double* const __restrict__ faceQBottom,
209 double* const __restrict__ faceQUp
210 );
211
220 int order,
221 int unknowns,
222 int auxiliaryVariables,
223 int numberOfProjectedQuantities,
224 double* __restrict__ faceQ
225 );
226
231 int order,
232 int unknowns,
233 double* __restrict__ faceQ
234 );
235
240 const double* __restrict__ cellQ,
241 int order,
242 int unknowns,
243 int auxiliaryVariables,
244 const double* const __restrict__ BasisFunctionValuesLeft,
245 double* const __restrict__ faceQLeft,
246 double* const __restrict__ faceQRight,
247 double* const __restrict__ faceQBottom,
248 double* const __restrict__ faceQUp,
249 double* const __restrict__ faceQFront,
250 double* const __restrict__ faceQBack
251 );
252
254 const double* __restrict__ cellQ,
255 int order,
256 int unknowns,
257 int auxiliaryVariables,
258 const double* const __restrict__ BasisFunctionValuesLeft,
259 double* const __restrict__ faceQLeft,
260 double* const __restrict__ faceQRight,
261 double* const __restrict__ faceQBottom,
262 double* const __restrict__ faceQUp
263 );
264
269 const double* __restrict__ cellQ,
270 int order,
271 int unknowns,
272 int auxiliaryVariables,
273 const double* const __restrict__ BasisFunctionValuesLeft,
274 double* const __restrict__ faceQLeft,
275 double* const __restrict__ faceQRight,
276 double* const __restrict__ faceQBottom,
277 double* const __restrict__ faceQUp,
278 double* const __restrict__ faceQFront,
279 double* const __restrict__ faceQBack
280 );
281
314 const double* const __restrict__ faceQLeft,
315 const double* const __restrict__ faceQRight,
316 const double* const __restrict__ faceQBottom,
317 const double* const __restrict__ faceQUp,
318 int order,
319 int unknowns,
320 const int auxiliaryVariables,
321 const tarch::la::Vector<2,double>& cellSize,
322 const double* const __restrict__ BasisFunctionValuesLeft,
323 const double* __restrict__ MassMatrixDiagonal1d,
324 double* __restrict__ cellQ
325 );
326
340 const double* const __restrict__ faceQLeft,
341 const double* const __restrict__ faceQRight,
342 const double* const __restrict__ faceQBottom,
343 const double* const __restrict__ faceQUp,
344 const double* const __restrict__ faceQFront,
345 const double* const __restrict__ faceQBack,
346 int order,
347 int unknowns,
348 const int auxiliaryVariables,
349 const tarch::la::Vector<3,double>& cellSize,
350 const double* const __restrict__ BasisFunctionValuesLeft,
351 const double* __restrict__ MassMatrixDiagonal1d,
352 double* __restrict__ cellQ
353 );
354 }
355}
void restrictAndAccumulateProjectedFacePolynomial(const peano4::datamanagement::FaceMarker &marker, int order, int numberOfProjectedQuantities, int unknowns, int auxiliaryVariables, const double *__restrict__ RestrictionMatrix1d, const double *__restrict__ fineGridFaceQ, double *__restrict__ coarseGridFaceQ)
Counterpart of interpolateRiemannSolution().
void clearRiemannResult(int order, int unknowns, double *__restrict__ faceQ)
void clearSolutionProjection(int order, int unknowns, int auxiliaryVariables, int numberOfProjectedQuantities, double *__restrict__ faceQ)
Set the whole solution projection on the face from left and right to zero.
void projectVolumetricDataAndGradientOntoFaces(const double *__restrict__ cellQ, int order, int unknowns, int auxiliaryVariables, const double *const __restrict__ BasisFunctionValuesLeft, double *const __restrict__ faceQLeft, double *const __restrict__ faceQRight, double *const __restrict__ faceQBottom, double *const __restrict__ faceQUp)
void projectVolumetricDataOntoFaces(const double *__restrict__ cellQ, int order, int unknowns, int auxiliaryVariables, const double *const __restrict__ BasisFunctionValuesLeft, double *const __restrict__ faceQLeft, double *const __restrict__ faceQRight, double *const __restrict__ faceQBottom, double *const __restrict__ faceQUp)
Take polynomial within cell and project it onto the faces.
void interpolateRiemannSolution(const peano4::datamanagement::FaceMarker &marker, int order, int unknowns, const double *__restrict__ InterpolationMatrix1d, const double *__restrict__ coarseGridFaceQ, double *__restrict__ fineGridFaceQ)
void integrateOverRiemannSolutionsAndAddToVolume_GaussLegendre(const double *const __restrict__ faceQLeft, const double *const __restrict__ faceQRight, const double *const __restrict__ faceQBottom, const double *const __restrict__ faceQUp, int order, int unknowns, const int auxiliaryVariables, const tarch::la::Vector< 2, double > &cellSize, const double *const __restrict__ BasisFunctionValuesLeft, const double *__restrict__ MassMatrixDiagonal1d, double *__restrict__ cellQ)
Given a numerical flux at the various faces, this computes and adds the Riemann integral of this flux...
This file is part of the ExaHyPE 2 project within Peano 4.
Provide information about selected face.
Definition FaceMarker.h:35
Simple vector class.
Definition Vector.h:159