Module for routines and datatypes of MOdal Discontinuous Galerkin (MODG) scheme for the Heat equation. ************!
Calculate the physical flux for the MODG scheme and Heat equation.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(atl_cube_elem_type) | :: | mesh |
The mesh you are working with. |
|||
type(atl_Equations_type) | :: | equation |
The equation you solve. |
|||
real(kind=rk), | intent(in) | :: | state(:,:) | |||
real(kind=rk), | intent(inout) | :: | res(:,:) | |||
type(ply_poly_project_type), | intent(inout) | :: | poly_proj |
Parameters for projection |
||
real(kind=rk), | intent(inout) | :: | modalCoeffs(:,:) | |||
real(kind=rk), | intent(inout) | :: | modalCoeffsDiff(:,:) |
Calculate the numerical flux for the Heat 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. |
||
type(atl_modg_1d_scheme_type), | intent(in) | :: | scheme |
Parameters of the modal dg scheme |
Numerical flux calculation for the Heat 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(atl_modg_1d_scheme_type), | intent(in) | :: | scheme |
Parameters of the modal dg scheme |
||
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. |
||
real(kind=rk), | intent(in) | :: | elem_len |
Length of the element |