Alamo
Public Member Functions | Static Public Member Functions | Data Fields | Static Public Attributes
Numeric::Advect::WENO5 Class Reference

#include <WENO5.H>

Public Member Functions

AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE int NGhost () const
 
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Set::Scalar ReconstructLeft (Set::Scalar fm2, Set::Scalar fm1, Set::Scalar f0, Set::Scalar fp1, Set::Scalar fp2) const
 
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Set::Scalar ReconstructRight (Set::Scalar fm1, Set::Scalar f0, Set::Scalar fp1, Set::Scalar fp2, Set::Scalar fp3) const
 
template<class Phi , class Velocity >
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Set::Scalar operator() (Phi const &phi, Velocity const &velocity, int i, int j, int k, int comp, const Set::Scalar *DX, Options options={}, std::array< Numeric::StencilType, AMREX_SPACEDIM > stencil=Numeric::DefaultType) const
 
template<class Phi , class Velocity >
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Set::Scalar Scalar (Phi const &phi, Velocity const &velocity, int i, int j, int k, int comp, const Set::Scalar *DX, Options options={}, std::array< Numeric::StencilType, AMREX_SPACEDIM > stencil=Numeric::DefaultType) const
 

Static Public Member Functions

static void Parse (WENO5 &value, IO::ParmParse &pp)
 

Data Fields

Set::Scalar eps = 1.0e-12
 

Static Public Attributes

static constexpr const char * name = "weno5"
 
static constexpr Set::HC phi_location = Set::HC::Cell
 
static constexpr Set::HC velocity_location = Set::HC::Cell
 

Detailed Description

Definition at line 34 of file WENO5.H.

Member Function Documentation

◆ NGhost()

AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE int Numeric::Advect::WENO5::NGhost ( ) const
inline

Definition at line 50 of file WENO5.H.

◆ operator()()

template<class Phi , class Velocity >
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Set::Scalar Numeric::Advect::WENO5::operator() ( Phi const &  phi,
Velocity const &  velocity,
int  i,
int  j,
int  k,
int  comp,
const Set::Scalar DX,
Options  options = {},
std::array< Numeric::StencilType, AMREX_SPACEDIM >  stencil = Numeric::DefaultType 
) const
inline

Definition at line 107 of file WENO5.H.

◆ Parse()

static void Numeric::Advect::WENO5::Parse ( WENO5 value,
IO::ParmParse pp 
)
inlinestatic

Definition at line 43 of file WENO5.H.

◆ ReconstructLeft()

AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Set::Scalar Numeric::Advect::WENO5::ReconstructLeft ( Set::Scalar  fm2,
Set::Scalar  fm1,
Set::Scalar  f0,
Set::Scalar  fp1,
Set::Scalar  fp2 
) const
inline

Definition at line 56 of file WENO5.H.

◆ ReconstructRight()

AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Set::Scalar Numeric::Advect::WENO5::ReconstructRight ( Set::Scalar  fm1,
Set::Scalar  f0,
Set::Scalar  fp1,
Set::Scalar  fp2,
Set::Scalar  fp3 
) const
inline

Definition at line 81 of file WENO5.H.

◆ Scalar()

template<class Phi , class Velocity >
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Set::Scalar Numeric::Advect::WENO5::Scalar ( Phi const &  phi,
Velocity const &  velocity,
int  i,
int  j,
int  k,
int  comp,
const Set::Scalar DX,
Options  options = {},
std::array< Numeric::StencilType, AMREX_SPACEDIM >  stencil = Numeric::DefaultType 
) const
inline

Definition at line 164 of file WENO5.H.

Field Documentation

◆ eps

Set::Scalar Numeric::Advect::WENO5::eps = 1.0e-12

Definition at line 41 of file WENO5.H.

◆ name

constexpr const char* Numeric::Advect::WENO5::name = "weno5"
staticconstexpr

Definition at line 37 of file WENO5.H.

◆ phi_location

constexpr Set::HC Numeric::Advect::WENO5::phi_location = Set::HC::Cell
staticconstexpr

Definition at line 38 of file WENO5.H.

◆ velocity_location

constexpr Set::HC Numeric::Advect::WENO5::velocity_location = Set::HC::Cell
staticconstexpr

Definition at line 39 of file WENO5.H.


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