atl_modg_1d_advection_kernel_module Module

Module for routines and datatypes of MOdal Discontinuous Galerkin (MODG) scheme for the advection equation. This scheme is a spectral scheme for linear, purley hyperbolic partial differential equation systems.



Subroutines

public subroutine atl_modg_1d_advection_physFlux(equation, state, res)

Calculate the physical flux for the MODG scheme and advection equation.

Arguments

Type IntentOptional Attributes Name
type(atl_Equations_type) :: equation

The equation you solve.

real(kind=rk), intent(in) :: state(:,:)
real(kind=rk), intent(inout) :: res(:,:)

public subroutine atl_modg_1d_advection_numFlux(mesh, equation, facedata)

Calculate the numerical flux for the advection equation and MODG scheme

Arguments

Type IntentOptional Attributes Name
type(atl_cube_elem_type), intent(in) :: mesh

The mesh you are working with.

type(atl_Equations_type), intent(in) :: equation

The equation you solve.

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

The face representation of the state.

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.