atl_modg_acoustic_kernel_module Module

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


Uses

Used by

  • module~~atl_modg_acoustic_kernel_module~~UsedByGraph module~atl_modg_acoustic_kernel_module atl_modg_acoustic_kernel_module proc~compute_rhs_cubes_modg compute_rhs_cubes_modg proc~compute_rhs_cubes_modg->module~atl_modg_acoustic_kernel_module

Subroutines

public subroutine atl_modg_acoustic_physFlux(equation, res, state, iElem, iDir, penalizationData, poly_proj, material, nodal_data, nodal_GradData, nodal_res, ElemLength, scheme_min, scheme_current)

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

Arguments

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

The equation system we are working with

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

The result in the modal form

real(kind=rk), intent(in), optional :: state(:,:)

The state in the modal form

integer, intent(in) :: iElem

The current element index

integer, intent(in) :: iDir

The current direction

type(atl_penalizationData_type), intent(inout) :: penalizationData

The Penalization data

type(ply_poly_project_type), intent(inout) :: poly_proj

The projection datatype for the projection information

type(atl_material_type), intent(inout) :: material

The material information

real(kind=rk), intent(in), optional :: nodal_data(:,:)

The state data in the nodal form

real(kind=rk), intent(in), optional :: nodal_GradData(:,:,:)
real(kind=rk), intent(inout) :: nodal_res(:,:)

The result in the nodal form

real(kind=rk), intent(in) :: ElemLength

The length of the current element

type(atl_scheme_type), intent(inout) :: scheme_min

The scheme information of the min level (This is needed for the temp

type(atl_scheme_type), intent(inout) :: scheme_current

Information about the current level

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

Calculate the numerical flux for acoustic 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.

type(atl_modg_scheme_type), intent(in) :: scheme

Parameters of the modal dg scheme