Alsvinn
0.5.3
The fast FVM simulator with UQ support
|
#include <alsfvm/reconstruction/tecno/ENOCPU.hpp>
Public Member Functions | |
ENOCPU (alsfvm::shared_ptr< memory::MemoryFactory > &memoryFactory, size_t nx, size_t ny, size_t nz) | |
virtual void | performReconstruction (const volume::Volume &leftInput, const volume::Volume &rightInput, size_t direction, volume::Volume &leftOutput, volume::Volume &rightOutput) |
virtual size_t | getNumberOfGhostCells () const |
getNumberOfGhostCells returns the number of ghost cells we need for this computation More... | |
![]() | |
virtual | ~TecnoReconstruction () |
Applies ENO reconstruction of order "order" (template argument), according to the Tecno paper
The reason we need a different class than for normal reconstruction is that the input left and right values are a priori different.
In other words, for tecno we reconstruct with
The reconstructions should be compatible with the Tecno paper
Fjordholm, U. S., Mishra, S., & Tadmor, E. (2012). Arbitrarily high-order accurate entropy stable essentially nonoscillatory schemes for systems of conservation laws, 50(2), 544–573.
See http://www.cscamm.umd.edu/people/faculty/tadmor/pub/TV+entropy/Fjordholm_Mishra_Tadmor_SINUM2012.pdf
alsfvm::reconstruction::tecno::ENOCPU< order >::ENOCPU | ( | alsfvm::shared_ptr< memory::MemoryFactory > & | memoryFactory, |
size_t | nx, | ||
size_t | ny, | ||
size_t | nz | ||
) |
|
virtual |
getNumberOfGhostCells returns the number of ghost cells we need for this computation
Implements alsfvm::reconstruction::tecno::TecnoReconstruction.
|
virtual |
Applies the reconstruction.
[in] | leftInput | the left values to use for reconstruction |
[in] | rightInput | the right values to use for reconstruction |
[in] | direction | the direction (0=x, 1=y, 2=y) |
[out] | leftOutput | at the end, should contain reconstructed values |
[out] | rightOutput | at the end, should contain the reconstructed values |
Implements alsfvm::reconstruction::tecno::TecnoReconstruction.