atl_eqn_maxwelldivcorr_prim2cons Subroutine

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

Convert primitive varibales to conservative variables.

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

Arguments

TypeIntentOptionalAttributesName
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.


Contents

None