Alsvinn  0.5.3
The fast FVM simulator with UQ support
Public Member Functions | List of all members
alsfvm::reconstruction::tecno::TecnoReconstruction Class Referenceabstract

#include <alsfvm/reconstruction/tecno/TecnoReconstruction.hpp>

Inheritance diagram for alsfvm::reconstruction::tecno::TecnoReconstruction:
alsfvm::reconstruction::tecno::ENOCPU< order > alsfvm::reconstruction::tecno::ENOCUDA< order > alsfvm::reconstruction::tecno::NoReconstruction alsfvm::reconstruction::tecno::NoReconstructionCUDA

Public Member Functions

virtual ~TecnoReconstruction ()
 
virtual void performReconstruction (const volume::Volume &leftInput, const volume::Volume &rightInput, size_t direction, volume::Volume &leftOutput, volume::Volume &rightOutput)=0
 
virtual size_t getNumberOfGhostCells () const =0
 

Detailed Description

Special abstract super class for reconstruction for ENO.

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

\[u^l_i = R_{i+1/2}u_{i}\]

\[u^r_i = R_{i-1/2}u_{i}\]

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

Constructor & Destructor Documentation

◆ ~TecnoReconstruction()

virtual alsfvm::reconstruction::tecno::TecnoReconstruction::~TecnoReconstruction ( )
inlinevirtual

Member Function Documentation

◆ getNumberOfGhostCells()

virtual size_t alsfvm::reconstruction::tecno::TecnoReconstruction::getNumberOfGhostCells ( ) const
pure virtual

◆ performReconstruction()

virtual void alsfvm::reconstruction::tecno::TecnoReconstruction::performReconstruction ( const volume::Volume leftInput,
const volume::Volume rightInput,
size_t  direction,
volume::Volume leftOutput,
volume::Volume rightOutput 
)
pure virtual

Applies the reconstruction.

Parameters
[in]leftInputthe left values to use for reconstruction
[in]rightInputthe right values to use for reconstruction
[in]directionthe direction (0=x, 1=y, 2=y)
[out]leftOutputat the end, should contain reconstructed values
[out]rightOutputat the end, should contain the reconstructed values

Implemented in alsfvm::reconstruction::tecno::ENOCPU< order >, alsfvm::reconstruction::tecno::ENOCUDA< order >, alsfvm::reconstruction::tecno::NoReconstruction, and alsfvm::reconstruction::tecno::NoReconstructionCUDA.


The documentation for this class was generated from the following file: