![]() |
DamBreak++ Wave Simulator 0.3
DamBreak++ Simulation Framework
|
First derivative at second and fourth order. provide a stencil concept to evaluate derivative without spurious oscillations (ENO: Essentially Non-Oscillatory. More...
#include <Sfx_ENOD1X.h>
Classes | |
| struct | stencil |
| struct | vector |
Public Member Functions | |
| FiniteDifferenceDerivative (std::string aName, const dbpp::Gamma &aBC, bool aUseENOSten) | |
| FiniteDifferenceDerivative (const FiniteDifferenceDerivative &aOther)=delete | |
| FiniteDifferenceDerivative & | operator= (const FiniteDifferenceDerivative &aOther)=delete |
| ~FiniteDifferenceDerivative ()=default | |
| std::valarray< float64 > | d1x (const Sfx::scalarField1D *aScalrField, const dbpp::PhysicalBoundaryCnd &aBC) |
| bool | useENOStencil () const |
| void | setDerivativeOrder (int aOrder) |
| void | setStencilType (eStenType aStenType) |
| eStenType | getStencil () const |
| size_t | getDerivativeOrder () const |
| size_t | getGlobalDimension () const |
Private Types | |
| enum class | eStenType { None =0 , periodic =1 , nonperiodic =2 } |
| derivative stencil type More... | |
Private Member Functions | |
| vector * | new_vector (void) |
| void | free_vector (vector *) |
| stencil * | eno_stencil (vector *aStencil) |
| Computation of stencil for ENO (Essentially Non-Oscillatory) reconstruction. Determine the central index of the stencil.We use the divided difference at first and second order to obtain information about the behavior of the function. | |
| vector * | d1x (vector *aVec, stencil *aSten=nullptr) |
| void | setdx (double dx) |
Private Attributes | |
| std::string | m_name |
| int | m_derivOrder |
| eStenType | m_stenType |
| bool | m_useSten |
| double | m_dx |
Static Private Attributes | |
| static constexpr int | DIM = 100 |
First derivative at second and fourth order. provide a stencil concept to evaluate derivative without spurious oscillations (ENO: Essentially Non-Oscillatory.
|
strongprivate |
|
inline |
ENO stencil used
|
delete |
|
default |
| std::valarray< float64 > Sfx::FiniteDifferenceDerivative::d1x | ( | const Sfx::scalarField1D * | aScalrField, |
| const dbpp::PhysicalBoundaryCnd & | aBC ) |
| aScalrField | |
| aBC |
|
private |
| aVec | |
| aSten |
|
private |
Computation of stencil for ENO (Essentially Non-Oscillatory) reconstruction. Determine the central index of the stencil.We use the divided difference at first and second order to obtain information about the behavior of the function.
|
private |
|
inline |
|
inline |
|
inline |
|
private |
|
delete |
|
inline |
| aOrder |
|
inlineprivate |
| dx |
|
inline |
| aStenType |
|
inline |
|
staticconstexprprivate |
|
private |
|
private |
|
private |
|
private |
|
private |