atl_eqn_maxwell_2d_cons2prim Subroutine

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

Convert conservative to primitive 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.

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

Converted variables.

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

The material information.