advec Module


Uses

  • module~~advec~~UsesGraph module~advec advec module~phys_consts phys_consts module~advec->module~phys_consts iso_fortran_env iso_fortran_env module~phys_consts->iso_fortran_env

Used by

  • module~~advec~~UsedByGraph module~advec advec program~mhd1d_saw MHD1D_SAW program~mhd1d_saw->module~advec program~mhd1d_snd MHD1D_SND program~mhd1d_snd->module~advec program~mhd1d_shock MHD1D_shock program~mhd1d_shock->module~advec

Contents


Functions

public function advec3D_MC(f, v1i, v2i, v3i, dt, dx1, dx1i, dx2, dx2i, dx3, dx3i)

Arguments

Type IntentOptional AttributesName
real(kind=wp), intent(in), dimension(-1:,-1:,-1:):: f
real(kind=wp), intent(in), dimension(:,:,:):: v1i
real(kind=wp), intent(in), dimension(:,:,:):: v2i
real(kind=wp), intent(in), dimension(:,:,:):: v3i
real(kind=wp), intent(in) :: dt
real(kind=wp), intent(in), dimension(0:):: dx1
real(kind=wp), intent(in), dimension(:):: dx1i
real(kind=wp), intent(in), dimension(0:):: dx2
real(kind=wp), intent(in), dimension(:):: dx2i
real(kind=wp), intent(in), dimension(0:):: dx3
real(kind=wp), intent(in), dimension(:):: dx3i

Return Value real(kind=wp), dimension(-1:size(f,1)-2,-1:size(f,2)-2,-1:size(f,3)-2)

public function advec2D_MC(f, v1i, v2i, dt, dx1, dx1i, dx2, dx2i)

Arguments

Type IntentOptional AttributesName
real(kind=wp), intent(in), dimension(-1:,-1:):: f
real(kind=wp), intent(in), dimension(:,:):: v1i
real(kind=wp), intent(in), dimension(:,:):: v2i
real(kind=wp), intent(in) :: dt
real(kind=wp), intent(in), dimension(0:):: dx1
real(kind=wp), intent(in), dimension(:):: dx1i
real(kind=wp), intent(in), dimension(0:):: dx2
real(kind=wp), intent(in), dimension(:):: dx2i

Return Value real(kind=wp), dimension(-1:size(f,1)-2,-1:size(f,2)-2)

public function advec1D_MC(f, v1i, dt, dx1, dx1i)

Arguments

Type IntentOptional AttributesName
real(kind=wp), intent(in), dimension(-1:):: f
real(kind=wp), intent(in), dimension(:):: v1i
real(kind=wp), intent(in) :: dt
real(kind=wp), intent(in), dimension(0:):: dx1
real(kind=wp), intent(in), dimension(:):: dx1i

Return Value real(kind=wp), dimension(-1:size(f)-2)

public elemental function minmod(a, b)

Arguments

Type IntentOptional AttributesName
real(kind=wp), intent(in) :: a
real(kind=wp), intent(in) :: b

Return Value real(kind=wp)

public pure function advec1D_DC(f, v1i, dt, dx1, dx1i)

Arguments

Type IntentOptional AttributesName
real(kind=wp), intent(in), dimension(-1:):: f
real(kind=wp), intent(in), dimension(:):: v1i
real(kind=wp), intent(in) :: dt
real(kind=wp), intent(in), dimension(0:):: dx1
real(kind=wp), intent(in), dimension(:):: dx1i

Return Value real(kind=wp), dimension(-1:size(f)-2)


Subroutines

public subroutine advec_prep(isp, ns, rhovs1, vs1, vs2, vs3, rhoes, v1i, v2i, v3i)

Read more…

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: isp
real(kind=wp), intent(inout), dimension(-1:,-1:,-1:,:):: ns
real(kind=wp), intent(inout), dimension(-1:,-1:,-1:,:):: rhovs1
real(kind=wp), intent(inout), dimension(-1:,-1:,-1:,:):: vs1
real(kind=wp), intent(inout), dimension(-1:,-1:,-1:,:):: vs2
real(kind=wp), intent(inout), dimension(-1:,-1:,-1:,:):: vs3
real(kind=wp), intent(inout), dimension(-1:,-1:,-1:,:):: rhoes
real(kind=wp), intent(out), dimension(1:size(vs1,1)-3,1:size(vs1,2)-4,1:size(vs1,3)-4):: v1i
real(kind=wp), intent(out), dimension(1:size(vs1,1)-4,1:size(vs1,2)-3,1:size(vs1,3)-4):: v2i
real(kind=wp), intent(out), dimension(1:size(vs1,1)-4,1:size(vs1,2)-4,1:size(vs1,3)-3):: v3i