#include <alsfvm/reconstruction/Reconstruction.hpp>
|
virtual | ~Reconstruction () |
|
virtual void | performReconstruction (const volume::Volume &inputVariables, size_t direction, size_t indicatorVariable, volume::Volume &leftOut, volume::Volume &rightOut, const ivec3 &start={0, 0, 0}, const ivec3 &end={0, 0, 0})=0 |
|
virtual size_t | getNumberOfGhostCells ()=0 |
| getNumberOfGhostCells returns the number of ghost cells we need for this computation More...
|
|
◆ ~Reconstruction()
virtual alsfvm::reconstruction::Reconstruction::~Reconstruction |
( |
| ) |
|
|
inlinevirtual |
◆ getNumberOfGhostCells()
virtual size_t alsfvm::reconstruction::Reconstruction::getNumberOfGhostCells |
( |
| ) |
|
|
pure virtual |
◆ performReconstruction()
virtual void alsfvm::reconstruction::Reconstruction::performReconstruction |
( |
const volume::Volume & |
inputVariables, |
|
|
size_t |
direction, |
|
|
size_t |
indicatorVariable, |
|
|
volume::Volume & |
leftOut, |
|
|
volume::Volume & |
rightOut, |
|
|
const ivec3 & |
start = {0, 0, 0} , |
|
|
const ivec3 & |
end = {0, 0, 0} |
|
) |
| |
|
pure virtual |
Performs reconstruction.
- Parameters
-
[in] | inputVariables | the variables to reconstruct. |
[in] | direction | the direction:
direction | explanation |
0 | x-direction |
1 | y-direction |
2 | z-direction |
|
[in] | indicatorVariable | the variable number to use for stencil selection. We will determine the stencil based on inputVariables->getScalarMemoryArea(indicatorVariable). |
[out] | leftOut | at the end, will contain the left interpolated values for all grid cells in the interior. |
[out] | rightOut | at the end, will contain the right interpolated values for all grid cells in the interior. |
[in] | start | (positive) the first index to compute the flux for |
[in] | end | (negative) the offset to on the upper part of the grid |
Implemented in alsfvm::reconstruction::ENOCUDA< Equation, order >, alsfvm::reconstruction::ENOCPU< order >, alsfvm::reconstruction::ReconstructionCUDA< ReconstructionType, Equation >, alsfvm::reconstruction::ReconstructionCPU< ReconstructionType, Equation >, alsfvm::reconstruction::NoReconstruction, alsfvm::reconstruction::WENOCPU< order >, and alsfvm::reconstruction::NoReconstructionCUDA.
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/alsvinn/checkouts/stable/alsfvm/include/alsfvm/reconstruction/Reconstruction.hpp