maxwell_flux_cube_vec_2d Subroutine

private subroutine maxwell_flux_cube_vec_2d(nTotalFaces, nSides, nFaceDofs, faceRep, faceFlux, leftPos, rightPos, var, material_left, material_right)

(formulation is based on TE mode formulation for 2D).

This subroutine assumes the Maxwell equations with D and B as input variables. Furthermore, it is able to handle jumping material parameters.

Arguments

TypeIntentOptionalAttributesName
integer, intent(in) :: nTotalFaces
integer, intent(in) :: nSides
integer, intent(in) :: nFaceDofs
real(kind=rk), intent(in) :: faceRep(nTotalFaces,nFaceDofs,7,2)
real(kind=rk), intent(inout) :: faceFlux(nTotalFaces,nFaceDofs,7,2)
integer, intent(in) :: leftPos(nSides)
integer, intent(in) :: rightPos(nsides)
integer, intent(in) :: var(7)
real(kind=rk), intent(in) :: material_left(nSides,1,3)
real(kind=rk), intent(in) :: material_right(nSides,1,3)

Called by

proc~~maxwell_flux_cube_vec_2d~~CalledByGraph proc~maxwell_flux_cube_vec_2d maxwell_flux_cube_vec_2d interface~atl_maxwell_flux_2d atl_maxwell_flux_2d interface~atl_maxwell_flux_2d->proc~maxwell_flux_cube_vec_2d proc~atl_modg_maxwell_2d_numflux atl_modg_maxwell_2d_numFlux proc~atl_modg_maxwell_2d_numflux->interface~atl_maxwell_flux_2d proc~compute_rhs_cubes_modg_2d compute_rhs_cubes_modg_2d proc~compute_rhs_cubes_modg_2d->proc~atl_modg_maxwell_2d_numflux proc~compute_rhs_cubes compute_rhs_cubes proc~compute_rhs_cubes->proc~compute_rhs_cubes_modg_2d

Contents


Variables

TypeVisibilityAttributesNameInitial
integer, private :: iSide
integer, private :: left
integer, private :: right
integer, private :: iDof
real(kind=rk), private :: left_mu
real(kind=rk), private :: right_mu
real(kind=rk), private :: left_epsi
real(kind=rk), private :: right_epsi
real(kind=rk), private :: left_speedOfLight
real(kind=rk), private :: right_speedOfLight
real(kind=rk), private :: inv_denom_mu
real(kind=rk), private :: inv_denom_epsi