atl_eqn_euler_2d_primTemp2cons Subroutine

public subroutine atl_eqn_euler_2d_primTemp2cons(equation, instate, outstate, material)

Convert primitive varibales (including temperature instead of pressure) to conservative variables.

The interface has to comply to the abstract interface atl_equation_module#eqn_var_trafo "eqn_var_trafo".

Arguments

Type IntentOptional Attributes Name
class(atl_Equations_type), intent(in) :: equation

Description of the equation system.

real(kind=rk), intent(inout) :: instate(:,:)

Primitive variables to convert. If outstate is not provided, conversion will take in place of instate.

real(kind=rk), intent(out), optional :: outstate(:,:)

Converted variables.

real(kind=rk), intent(in), optional :: material(:,:)

The material information.