Alsvinn
0.5.3
The fast FVM simulator with UQ support
|
The NoReconstruction class is the default reconstruction option (eg. none) More...
#include <alsfvm/reconstruction/NoReconstruction.hpp>
Public Member Functions | |
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}) |
virtual size_t | getNumberOfGhostCells () |
getNumberOfGhostCells returns the number of ghost cells we need for this computation More... | |
![]() | |
virtual | ~Reconstruction () |
The NoReconstruction class is the default reconstruction option (eg. none)
Here we do not perform any reconstruction, we simply copy the data into the correct arrays, with correct indexing.
|
virtual |
getNumberOfGhostCells returns the number of ghost cells we need for this computation
Implements alsfvm::reconstruction::Reconstruction.
|
virtual |
Performs reconstruction.
[in] | inputVariables | the variables to reconstruct. | ||||||||
[in] | direction | the direction:
| ||||||||
[in] | indicatorVariable | is ignored by this implementation | ||||||||
[out] | leftOut | at the end, will contain the left values for all grid cells in the interior. | ||||||||
[out] | rightOut | at the end, will contain the right 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 |
Performs reconstruction.
[in] | inputVariables | the variables to reconstruct. | ||||||||
[in] | direction | the 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. |
Implements alsfvm::reconstruction::Reconstruction.