linearization_indicator_err1d Function

private pure function linearization_indicator_err1d(euler, mean, deviation) result(islinear)

An indicator to decide whether linearization of fluxes is tolerable based on the error estimate.

Arguments

TypeIntentOptionalAttributesName
class(atl_euler_type), intent(in) :: euler

Description of the equation

real(kind=rk), intent(in) :: mean(:)

The mean value of each state

real(kind=rk), intent(in) :: deviation(:)

Maximal deviation of each state

Return Value logical


Contents


Variables

TypeVisibilityAttributesNameInitial
real(kind=rk), private :: m_dev_mag
real(kind=rk), private :: m_0_mag
real(kind=rk), private :: m_max
real(kind=rk), private :: rho_min
real(kind=rk), private :: M_err
real(kind=rk), private :: E_err
real(kind=rk), private :: gam