euler_numflux Interface

interface
private subroutine euler_numflux(euler, state_left, state_right, material_left, material_right, nPoints, flux)

Arguments

Type IntentOptional Attributes Name
class(atl_euler_type), intent(in) :: euler

The global equation specific settings.

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

State on the left side of the interface.

First index has to correspond with nPoints, second with number of variables.

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

State on the right side of the interface.

First index has to correspond with nPoints, second with number of variables.

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

Material definition on the left of the interface.

First index corresponds to nPoints or is 1 for constant material, second index has to correspond with number of material settings.

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

Material definition on the right of the interface.

First index corresponds to nPoints or is 1 for constant material, second index has to correspond with number of material settings.

integer, intent(in) :: nPoints

Number of points to evaluate the flux at.

real(kind=rk), intent(out) :: flux(:,:)

Resulting flux.

First index has to correspond with nPoints, second with number of variables.

Description

Interface definition for numerical fluxes.

Todo

HK: should be vectorized to reduce overheads.