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.


Uses

  • module~~atl_modg_1d_advection_kernel_module~~UsesGraph module~atl_modg_1d_advection_kernel_module atl_modg_1d_advection_kernel_module module~atl_cube_elem_module atl_cube_elem_module module~atl_modg_1d_advection_kernel_module->module~atl_cube_elem_module module~atl_facedata_module atl_facedata_module module~atl_modg_1d_advection_kernel_module->module~atl_facedata_module module~atl_equation_module atl_equation_module module~atl_modg_1d_advection_kernel_module->module~atl_equation_module module~treelmesh_module treelmesh_module module~atl_modg_1d_advection_kernel_module->module~treelmesh_module module~tem_facedata_module tem_faceData_module module~atl_modg_1d_advection_kernel_module->module~tem_facedata_module module~env_module env_module module~atl_modg_1d_advection_kernel_module->module~env_module module~atl_cube_elem_module->module~treelmesh_module module~atl_cube_elem_module->module~tem_facedata_module module~atl_cube_elem_module->module~env_module module~tem_construction_module tem_construction_module module~atl_cube_elem_module->module~tem_construction_module module~tem_geometry_module tem_geometry_module module~atl_cube_elem_module->module~tem_geometry_module module~tem_logging_module tem_logging_module module~atl_cube_elem_module->module~tem_logging_module module~atl_facedata_module->module~tem_facedata_module module~atl_facedata_module->module~env_module module~atl_facedata_module->module~tem_construction_module module~atl_boundary_module atl_boundary_module module~atl_facedata_module->module~atl_boundary_module module~atl_equation_module->module~env_module module~atl_eqn_nerplanck_module atl_eqn_nerplanck_module module~atl_equation_module->module~atl_eqn_nerplanck_module module~atl_eqn_nvrstk_module atl_eqn_nvrstk_module module~atl_equation_module->module~atl_eqn_nvrstk_module module~aotus_module aotus_module module~atl_equation_module->module~aotus_module module~tem_bc_module tem_bc_module module~atl_equation_module->module~tem_bc_module module~atl_eqn_bbm_module atl_eqn_bbm_module module~atl_equation_module->module~atl_eqn_bbm_module module~tem_varmap_module tem_varMap_module module~atl_equation_module->module~tem_varmap_module module~atl_eqn_acoustic_module atl_eqn_acoustic_module module~atl_equation_module->module~atl_eqn_acoustic_module module~atl_eqn_heat_module atl_eqn_heat_module module~atl_equation_module->module~atl_eqn_heat_module module~tem_varsys_module tem_varSys_module module~atl_equation_module->module~tem_varsys_module module~tem_spacetime_fun_module tem_spacetime_fun_module module~atl_equation_module->module~tem_spacetime_fun_module module~atl_materialfun_module atl_materialFun_module module~atl_equation_module->module~atl_materialfun_module module~aot_path_module aot_path_module module~atl_equation_module->module~aot_path_module module~atl_eqn_maxwell_module atl_eqn_maxwell_module module~atl_equation_module->module~atl_eqn_maxwell_module module~atl_eqn_euler_module atl_eqn_euler_module module~atl_equation_module->module~atl_eqn_euler_module module~tem_coordinate_module tem_coordinate_module module~atl_equation_module->module~tem_coordinate_module module~tem_stringkeyvaluepair_module tem_stringKeyValuePair_module module~atl_equation_module->module~tem_stringkeyvaluepair_module module~atl_eqn_lineareuler_module atl_eqn_LinearEuler_module module~atl_equation_module->module~atl_eqn_lineareuler_module module~atl_eqn_advection_1d_module atl_eqn_advection_1d_module module~atl_equation_module->module~atl_eqn_advection_1d_module

Used by

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

Contents


Subroutines

public subroutine atl_modg_1d_advection_physFlux(equation, state, res)

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

Arguments

TypeIntentOptionalAttributesName
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

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.

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

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(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.