Peano
Loading...
Searching...
No Matches
SecondOrderAuxiliaryVariablesReconstruction.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 "exahype2/CellData.h"
8
9
10namespace exagrype {
11 namespace ccz4 {
73 int numberOfGridCellsPerPatchPerAxis,
74 int haloSize,
75 int unknowns,
76 int auxiliaryVariables
77 );
78
81 int numberOfGridCellsPerPatchPerAxis,
82 int haloSize,
83 int unknowns,
84 int auxiliaryVariables
85 );
86
89 int numberOfGridCellsPerPatchPerAxis,
90 int haloSize,
91 int unknowns,
92 int auxiliaryVariables
93 );
94
97 int numberOfGridCellsPerPatchPerAxis,
98 int haloSize,
99 int unknowns,
100 int auxiliaryVariables
101 );
102
139 const double* __restrict__ primaryVariablesWithHalo,
141 int numberOfGridCellsPerPatchPerAxis,
142 int haloSize,
143 double* __restrict__ firstDerivatives
144 );
145
164 const double* __restrict__ primaryVariablesWithHalo,
166 int numberOfGridCellsPerPatchPerAxis,
167 int haloSize,
168 double* __restrict__ firstDerivatives
169 );
170
171 namespace internal {
184 double* __restrict__ QIn,
185 const ::exahype2::enumerator::AoSLexicographicEnumerator& QInEnumerator,
186 const tarch::la::Vector<Dimensions,double>& patchCentre,
188 int patchIndex,
189 const tarch::la::Vector<Dimensions,int>& volumeIndex,
190 int normal
191 );
192
193
198 double* __restrict__ QIn,
199 const ::exahype2::enumerator::AoSLexicographicEnumerator& QInEnumerator,
200 const tarch::la::Vector<Dimensions,double>& patchCentre,
202 int patchIndex,
203 const tarch::la::Vector<Dimensions,int>& volumeIndex,
204 int normal
205 );
206
207
212 double* __restrict__ QIn,
213 const ::exahype2::enumerator::AoSLexicographicEnumerator& QInEnumerator,
214 const tarch::la::Vector<Dimensions,double>& patchCentre,
216 int patchIndex,
217 const tarch::la::Vector<Dimensions,int>& volumeIndex,
218 int normal
219 );
220
221
226 double* __restrict__ QIn,
227 const ::exahype2::enumerator::AoSLexicographicEnumerator& QInEnumerator,
228 const tarch::la::Vector<Dimensions,double>& patchCentre,
230 int patchIndex,
231 const tarch::la::Vector<Dimensions,int>& volumeIndex,
232 int normal
233 );
234 }
235 }
236}
void recomputeAuxiliaryVariablesFD4_4thOrder_LoopBody(double *__restrict__ QIn, const ::exahype2::enumerator::AoSLexicographicEnumerator &QInEnumerator, const tarch::la::Vector< Dimensions, double > &patchCentre, const tarch::la::Vector< Dimensions, double > &patchSize, int patchIndex, const tarch::la::Vector< Dimensions, int > &volumeIndex, int normal)
Recompute auxiliary variables.
void recomputeAuxiliaryVariablesFD4_centralDifferences_LoopBody(double *__restrict__ QIn, const ::exahype2::enumerator::AoSLexicographicEnumerator &QInEnumerator, const tarch::la::Vector< Dimensions, double > &patchCentre, const tarch::la::Vector< Dimensions, double > &patchSize, int patchIndex, const tarch::la::Vector< Dimensions, int > &volumeIndex, int normal)
void recomputeAuxiliaryVariablesFD4_rightDifferences_LoopBody(double *__restrict__ QIn, const ::exahype2::enumerator::AoSLexicographicEnumerator &QInEnumerator, const tarch::la::Vector< Dimensions, double > &patchCentre, const tarch::la::Vector< Dimensions, double > &patchSize, int patchIndex, const tarch::la::Vector< Dimensions, int > &volumeIndex, int normal)
void recomputeAuxiliaryVariablesFD4_leftDifferences_LoopBody(double *__restrict__ QIn, const ::exahype2::enumerator::AoSLexicographicEnumerator &QInEnumerator, const tarch::la::Vector< Dimensions, double > &patchCentre, const tarch::la::Vector< Dimensions, double > &patchSize, int patchIndex, const tarch::la::Vector< Dimensions, int > &volumeIndex, int normal)
void reconstructFirstDerivativesCentralDifferences(const double *__restrict__ primaryVariablesWithHalo, const tarch::la::Vector< Dimensions, double > &patchSize, int numberOfGridCellsPerPatchPerAxis, int haloSize, double *__restrict__ firstDerivatives)
Reconstruct the 33 first derivatives with second-order central differences.
void recomputeAuxiliaryVariablesFD4_rightDifferences(::exahype2::CellData< double, double > &patchData, int numberOfGridCellsPerPatchPerAxis, int haloSize, int unknowns, int auxiliaryVariables)
void reconstructFirstDerivativesFD4(const double *__restrict__ primaryVariablesWithHalo, const tarch::la::Vector< Dimensions, double > &patchSize, int numberOfGridCellsPerPatchPerAxis, int haloSize, double *__restrict__ firstDerivatives)
Reconstruct the 33 first derivatives of the 25 evolved CCZ4 unknowns.
void recomputeAuxiliaryVariablesFD4_4thOrder(::exahype2::CellData< double, double > &patchData, int numberOfGridCellsPerPatchPerAxis, int haloSize, int unknowns, int auxiliaryVariables)
Recompute auxiliary variables for FD4 scheme with a 4th order scheme.
void recomputeAuxiliaryVariablesFD4_leftDifferences(::exahype2::CellData< double, double > &patchData, int numberOfGridCellsPerPatchPerAxis, int haloSize, int unknowns, int auxiliaryVariables)
void recomputeAuxiliaryVariablesFD4_centralDifferences(::exahype2::CellData< double, double > &patchData, int numberOfGridCellsPerPatchPerAxis, int haloSize, int unknowns, int auxiliaryVariables)
This file is part of the ExaGRyPE project.
Definition __init__.py:1
Representation of a number of cells which contains all information that's required to process the sto...
Definition CellData.h:78
Simple vector class.
Definition Vector.h:159