#include <AMReX_REAL.H>
#include <AMReX_GpuQualifiers.H>
#include "ERF_NumericalConstants.H"
Go to the source code of this file.
◆ WallGradientCoeffs()
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE WallGradCoeffs WallGradientCoeffs |
( |
const amrex::Real |
dz0, |
|
|
const amrex::Real |
dz1 |
|
) |
| |
|
noexcept |
35 const amrex::Real f = (dz1 / dz0) +
two;
36 const amrex::Real f2 = f*f;
37 const amrex::Real c3 =
two / (f - f2);
38 const amrex::Real
c2 = -f2*c3;
39 const amrex::Real
c1 = -(
one-f2)*c3;
constexpr amrex::Real two
Definition: ERF_NumericalConstants.H:38
constexpr amrex::Real one
Definition: ERF_NumericalConstants.H:37
real(c_double), parameter c2
Definition: ERF_module_model_constants.F90:35
real(c_double), private c1
Definition: ERF_module_mp_morr_two_moment.F90:212
Referenced by ImplicitDiffForMomLU_S(), and ImplicitDiffForMomLU_T().
◆ WallGradientCoeffsUniform()
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE WallGradCoeffs WallGradientCoeffsUniform |
( |
| ) |
|
|
noexcept |
The uniform-mesh stencil, with the constants ComputeStrain_N uses.
constexpr amrex::Real three
Definition: ERF_NumericalConstants.H:39
constexpr amrex::Real eightthirds
Definition: ERF_NumericalConstants.H:44
constexpr amrex::Real third
Definition: ERF_NumericalConstants.H:43
Referenced by ImplicitDiffForMomLU_N(), and erf_cloud_chamber::set_wall_transport_speeds().