/home/runner/work/amr-wind/amr-wind/amr-wind/ocean_waves/utils/wave_utils_K.H File Reference

AMR-Wind API: /home/runner/work/amr-wind/amr-wind/amr-wind/ocean_waves/utils/wave_utils_K.H File Reference
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
Loading...
Searching...
No Matches
wave_utils_K.H File Reference
#include <AMReX_FArrayBox.H>
#include <cmath>
Include dependency graph for wave_utils_K.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  amr_wind
 
namespace  amr_wind::ocean_waves
 
namespace  amr_wind::ocean_waves::utils
 

Typedefs

using amr_wind::ocean_waves::utils::WaveVec = amrex::GpuArray<amrex::Real, 4>
 

Functions

AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real amr_wind::ocean_waves::utils::free_surface_to_vof (const amrex::Real eta, const amrex::Real z, const amrex::Real dz)
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real amr_wind::ocean_waves::utils::gamma_generate (const amrex::Real x, const amrex::Real gen_length)
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real amr_wind::ocean_waves::utils::gamma_absorb (const amrex::Real x, const amrex::Real absorb_length, const amrex::Real absorb_length_factor)
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real amr_wind::ocean_waves::utils::ramp (const amrex::Real time, const amrex::Real ramp_period)
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real amr_wind::ocean_waves::utils::combine_linear (const amrex::Real factor, const amrex::Real target, const amrex::Real current)
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE WaveVec amr_wind::ocean_waves::utils::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)