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.
Calculate the physical flux for the MODG scheme and advection equation.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(atl_Equations_type) | :: | equation | The equation you solve. |
|||
real(kind=rk), | intent(in) | :: | state(:,:) | |||
real(kind=rk), | intent(inout) | :: | res(:,:) |
Calculate the numerical flux for the advection equation and MODG scheme
Type | Intent | Optional | 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. |
Numerical flux calculation for the advection equation across the faces in a single spatial direction.
Type | Intent | Optional | 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. |