atl_modg_1d_heat_kernel_module Module

Module for routines and datatypes of MOdal Discontinuous Galerkin (MODG) scheme for the Heat equation. ************!


Uses

Used by

  • module~~atl_modg_1d_heat_kernel_module~~UsedByGraph module~atl_modg_1d_heat_kernel_module atl_modg_1d_heat_kernel_module proc~modg_1d_compute_project_physflux modg_1d_compute_project_physFlux proc~modg_1d_compute_project_physflux->module~atl_modg_1d_heat_kernel_module proc~compute_rhs_cubes_modg_1d compute_rhs_cubes_modg_1d proc~compute_rhs_cubes_modg_1d->module~atl_modg_1d_heat_kernel_module

Contents


Subroutines

public subroutine atl_modg_1d_heat_physFlux(mesh, equation, state, res, poly_proj, modalCoeffs, modalCoeffsDiff)

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

Arguments

TypeIntentOptionalAttributesName
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(:,:)

public subroutine atl_modg_1d_heat_numFlux(mesh, equation, facedata, scheme)

Calculate the numerical flux for the Heat equation and MODG scheme

Read more…

Arguments

TypeIntentOptionalAttributesName
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

private subroutine modg_1d_heat_oneDim_numFlux(equation, facedata, scheme, faces, faceDir, elem_len)

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

Arguments

TypeIntentOptionalAttributesName
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