109 amrex::Real
const bin_size
112 using namespace amrex::literals;
118 return -3_rt/2_rt * kappa / bin_size * (
unit_step(
s + bin_size / 2_rt) * std::pow(std::abs(
s + bin_size / 2_rt), 2_rt/3_rt) -
unit_step(
s - bin_size / 2_rt) * std::pow(std::abs(
s - bin_size / 2_rt), 2_rt/3_rt));
Definition ChargeBinning.cpp:17
constexpr amrex::Real alpha_1
Definition WakeConvolution.H:30
constexpr amrex::Real Z0
Free space impedance [Ohm].
Definition WakeConvolution.H:23
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real unit_step(amrex::Real s)
Definition WakeConvolution.H:39
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real w_l_csr(amrex::Real s, amrex::Real R, amrex::Real const bin_size)
Definition WakeConvolution.H:106
amrex::Gpu::DeviceVector< amrex::Real > convolve_fft(amrex::Gpu::DeviceVector< amrex::Real > const &beam_profile_slope, amrex::Gpu::DeviceVector< amrex::Real > const &wake_func, amrex::Real delta_t)
Definition WakeConvolution.cpp:66
amrex::Real w_l_rf(amrex::Real s, amrex::Real a, amrex::Real g, amrex::Real L)
Definition WakeConvolution.cpp:51
amrex::Real w_t_rf(amrex::Real s, amrex::Real a, amrex::Real g, amrex::Real L)
Definition WakeConvolution.cpp:36