atl_getEulerLinInd Subroutine

public subroutine atl_getEulerLinInd(euler, conf, eqn_handle, eqn_dim)

Getting the linearization indicator for Euler equations from the config.

Set the function pointer to compute the linearization indicator according to the setting by the user. Available indicators are:

  • 'density' to use the maximal relative deviation in density
  • 'energy' to use the maximal relative deviation in energy
  • 'error' to use an error estimate

If linear_limit is 0, the indicator is completely deactivated and euler%linear will always return .false.

Arguments

Type IntentOptional Attributes Name
type(atl_euler_type), intent(inout) :: euler

The equations type to set the numerical flux in.

type(flu_State) :: conf

Configuration file handle to get the numerical flux setting from.

integer, intent(in) :: eqn_handle

Handle to the equation table in the configuration script.

integer, intent(in) :: eqn_dim

Dimension of the equation to set the flux for.