atl_averageFluxEuler_1d Subroutine

public subroutine atl_averageFluxEuler_1d(equation, state_left, state_right, material_left, material_right, nPoints, flux)

A most basic flux function which uses the average of both sides for 1D Euler.

This interface has to match the abstract definition compute_numflux in the atl_equation_module.

Arguments

TypeIntentOptionalAttributesName
class(atl_Equations_type), intent(in) :: equation
real(kind=rk), intent(in) :: state_left(:,:)

The state on the face from its left limit (in conservative variables).

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

The state on the face from its right limit (in conservative variables).

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

The left value of the characteristic function (stemming from penalization)

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

The right value of the characteristic function (stemming from penalization)

integer, intent(in) :: nPoints

Number of points to evaluate the flux at.

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

Resulting flux for the left element (in conservative variables).


Calls

proc~~atl_averagefluxeuler_1d~~CallsGraph proc~atl_averagefluxeuler_1d atl_averageFluxEuler_1d proc~atl_physfluxeuler_1d atl_physFluxEuler_1d proc~atl_averagefluxeuler_1d->proc~atl_physfluxeuler_1d

Contents


Variables

TypeVisibilityAttributesNameInitial
real(kind=rk), private :: isen_coeff
real(kind=rk), private :: state_avg(3)
real(kind=rk), private :: material(ubound(material_left,1))
integer, private :: iPoint
integer, private :: matpoint
integer, private :: mm