/home/runner/work/amr-wind/amr-wind/amr-wind/ocean_waves/utils/wave_utils_K.H Source File
|
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
|
Loading...
Searching...
No Matches
wave_utils_K.H
Go to the documentation of this file.
static constexpr amrex::Real TIGHT_TOL
A tight tolerance.
Definition constants.H:19
static constexpr amrex::Real EPS
A number very close to zero.
Definition constants.H:15
Definition wave_utils_K.H:8
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real gamma_generate(const amrex::Real x, const amrex::Real gen_length)
Definition wave_utils_K.H:32
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE WaveVec harmonize_profiles_1d(const amrex::Real x, const amrex::Real left_bdy, const amrex::Real left_length, const amrex::Real right_bdy, const amrex::Real right_length, const WaveVec left, const WaveVec bulk, const WaveVec right)
Definition wave_utils_K.H:68
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real free_surface_to_vof(const amrex::Real eta, const amrex::Real z, const amrex::Real dz)
Definition wave_utils_K.H:12
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real ramp(const amrex::Real time, const amrex::Real ramp_period)
Definition wave_utils_K.H:50
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real combine_linear(const amrex::Real factor, const amrex::Real target, const amrex::Real current)
Definition wave_utils_K.H:60
amrex::GpuArray< amrex::Real, 4 > WaveVec
Definition wave_utils_K.H:10
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real gamma_absorb(const amrex::Real x, const amrex::Real absorb_length, const amrex::Real absorb_length_factor)
Definition wave_utils_K.H:39
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE WaveVec harmonize_profiles_2d(const amrex::Real x, const amrex::Real y, const amrex::Real left_bdy, const amrex::Real left_length, const amrex::Real right_bdy, const amrex::Real right_length, const amrex::Real lo_y_bdy, const amrex::Real hi_y_bdy, const amrex::Real y_length, const WaveVec left, const WaveVec bulk, const WaveVec right)
Definition wave_utils_K.H:100
Generated by