1 #ifndef NIHU_HELMHOLTZ_3D_HF_SHIFT_H_INCLUDED
2 #define NIHU_HELMHOLTZ_3D_HF_SHIFT_H_INCLUDED
6 #define L2L_SHIFT_FIRST 1
20 using cvector_t = Eigen::Matrix<std::complex<double>, Eigen::Dynamic, 1>;
24 : m_level_data(
nullptr)
29 : m_shift(shift), m_level_data(&ld)
37 return m_shift.array() * m_level_data->
interp_up(rhs).array();
52 using cvector_t = Eigen::Matrix<std::complex<double>, Eigen::Dynamic, 1>;
56 : m_level_data(
nullptr)
61 : m_shift(shift), m_level_data(&ld)
70 return m_level_data->
interp_down(m_shift.array() * rhs.array());
72 return m_shift.array() * m_level_data->
interp_down(rhs).array();
84 #endif // NIHU_HELMHOLTZ_3D_HF_SHIFT_H_INCLUDED