utils Namespace Reference
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
|
Loading...
Searching...
No Matches
Typedefs | |
using | WaveVec = amrex::GpuArray<amrex::Real, 4> |
Functions | |
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) |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real | gamma_generate (const amrex::Real x, const amrex::Real gen_length) |
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) |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real | ramp (const amrex::Real time, const amrex::Real ramp_period) |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real | combine_linear (const amrex::Real factor, const amrex::Real target, const amrex::Real current) |
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) |
Typedef Documentation
◆ WaveVec
using amr_wind::ocean_waves::utils::WaveVec = amrex::GpuArray<amrex::Real, 4> |
Function Documentation
◆ combine_linear()
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 ) |
◆ free_surface_to_vof()
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 ) |
◆ gamma_absorb()
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 ) |
◆ gamma_generate()
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 ) |
◆ harmonize_profiles_1d()
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 ) |
◆ ramp()
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real amr_wind::ocean_waves::utils::ramp | ( | const amrex::Real | time, |
const amrex::Real | ramp_period ) |
Generated by 1.12.0