/home/runner/work/DiFfRG_current/DiFfRG_current/DiFfRG/include/DiFfRG/discretization/FV/wave_speed/max_eigenvalue_wave_speed.hh Source File#
|
DiFfRG
Discretization Framework for functional Renormalization Group flows
|
max_eigenvalue_wave_speed.hh
Go to the documentation of this file.
28 compute_speeds(const std::array<internal::JacobianMatrix<NumberType, n_components>, dim> &J_plus,
42 select_speed_branches(const std::array<internal::JacobianMatrix<NumberType, n_components>, dim> &J_plus,
63 compute_spectral_radii(const std::array<internal::JacobianMatrix<NumberType, n_components>, dim> &J_plus,
113 compute_speed_derivatives(const std::array<internal::JacobianMatrix<NumberType, n_components>, dim> &J_plus,
121 const NumberType sign_J_plus = (J_plus[d][0][0] >= NumberType(0)) ? NumberType(1) : NumberType(-1);
122 const NumberType sign_J_minus = (J_minus[d][0][0] >= NumberType(0)) ? NumberType(1) : NumberType(-1);
std::array< std::array< std::array< std::array< NumberType, n_components >, n_components >, n_components >, dim > HessianTensor
Definition flux_jacobian_hessian.hh:24
std::array< std::array< NumberType, n_components >, n_components > JacobianMatrix
Definition flux_jacobian_hessian.hh:21
WaveSpeedBranch
Definition max_eigenvalue_wave_speed.hh:16
Definition complex_math.hh:10
KOKKOS_FORCEINLINE_FUNCTION auto real(const autodiff::Real< N, T > &a)
Definition complex_math.hh:96
Default wave-speed strategy.
Definition max_eigenvalue_wave_speed.hh:25
static std::pair< std::array< NumberType, dim >, std::array< NumberType, dim > > compute_spectral_radii(const std::array< internal::JacobianMatrix< NumberType, n_components >, dim > &J_plus, const std::array< internal::JacobianMatrix< NumberType, n_components >, dim > &J_minus)
Definition max_eigenvalue_wave_speed.hh:63
static std::pair< std::array< std::array< NumberType, n_components >, dim >, std::array< std::array< NumberType, n_components >, dim > > compute_selected_speed_derivatives(const std::array< internal::JacobianMatrix< NumberType, n_components >, dim > &J_plus, const std::array< internal::JacobianMatrix< NumberType, n_components >, dim > &J_minus, const internal::HessianTensor< NumberType, dim, n_components > &H_plus, const internal::HessianTensor< NumberType, dim, n_components > &H_minus)
Definition max_eigenvalue_wave_speed.hh:176
static std::array< NumberType, dim > compute_speeds(const std::array< internal::JacobianMatrix< NumberType, n_components >, dim > &J_plus, const std::array< internal::JacobianMatrix< NumberType, n_components >, dim > &J_minus)
Definition max_eigenvalue_wave_speed.hh:28
static std::array< WaveSpeedBranch, dim > select_speed_branches(const std::array< internal::JacobianMatrix< NumberType, n_components >, dim > &J_plus, const std::array< internal::JacobianMatrix< NumberType, n_components >, dim > &J_minus)
Definition max_eigenvalue_wave_speed.hh:42
static std::pair< std::array< std::array< NumberType, n_components >, dim >, std::array< std::array< NumberType, n_components >, dim > > compute_speed_derivatives(const std::array< internal::JacobianMatrix< NumberType, n_components >, dim > &J_plus, const std::array< internal::JacobianMatrix< NumberType, n_components >, dim > &J_minus, const internal::HessianTensor< NumberType, dim, n_components > &H_plus, const internal::HessianTensor< NumberType, dim, n_components > &H_minus)
Compute da[d]/du_c analytically from J and H: a[d] = spectral_radius(J[d]) da[d]/du_c = d(spectral_ra...
Definition max_eigenvalue_wave_speed.hh:113
Generated by