modg_1d_advection_oneDim_numFlux Subroutine

private subroutine modg_1d_advection_oneDim_numFlux(equation, facedata, faces, faceDir)

Numerical flux calculation for the advection equation across the faces in a single spatial direction.

Arguments

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

The equation you solve.

type(atl_facedata_type), intent(inout) :: facedata

The face state if the equation

type(tem_faceIterator_type), intent(in) :: faces

The faces to calculate the fluxes for.

integer, intent(in) :: faceDir

The spatial direction of the faces you calc the fluxes for, use the following: 1 --> x direction.