AMReX-Hydro
AMReX-based hydro routines for low Mach number flows
PPM::vanleer Struct Reference

#include <hydro_godunov_ppm.H>

Public Member Functions

 vanleer ()=default
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real vanLeer (const amrex::Real a, const amrex::Real b, const amrex::Real c) const
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real sedge1 (const amrex::Real sm2, const amrex::Real sm1, const amrex::Real s0, const amrex::Real sp1, const amrex::Real) const
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real sedge2 (const amrex::Real, const amrex::Real sm1, const amrex::Real s0, const amrex::Real sp1, const amrex::Real sp2) const
 

Static Public Member Functions

static AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::GpuTuple< amrex::Real, amrex::Real > sm_sp (const amrex::Real s0, const amrex::Real sedge1, const amrex::Real sedge2)
 

Public Attributes

const amrex::Real m_half {amrex::Real(0.5)}
 
const amrex::Real m_sixth {amrex::Real(1.0)/amrex::Real(6.0)}
 

Constructor & Destructor Documentation

◆ vanleer()

PPM::vanleer::vanleer ( )
explicitdefault

Member Function Documentation

◆ sedge1()

AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real PPM::vanleer::sedge1 ( const amrex::Real  sm2,
const amrex::Real  sm1,
const amrex::Real  s0,
const amrex::Real  sp1,
const amrex::Real   
) const
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sedge2()

AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real PPM::vanleer::sedge2 ( const amrex::Real  ,
const amrex::Real  sm1,
const amrex::Real  s0,
const amrex::Real  sp1,
const amrex::Real  sp2 
) const
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sm_sp()

static AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::GpuTuple<amrex::Real,amrex::Real> PPM::vanleer::sm_sp ( const amrex::Real  s0,
const amrex::Real  sedge1,
const amrex::Real  sedge2 
)
inlinestatic
Here is the call graph for this function:

◆ vanLeer()

AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real PPM::vanleer::vanLeer ( const amrex::Real  a,
const amrex::Real  b,
const amrex::Real  c 
) const
inline
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ m_half

const amrex::Real PPM::vanleer::m_half {amrex::Real(0.5)}

◆ m_sixth

const amrex::Real PPM::vanleer::m_sixth {amrex::Real(1.0)/amrex::Real(6.0)}

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