MPI-AMRVAC  2.0
The MPI - Adaptive Mesh Refinement - Versatile Advection Code
Functions/Subroutines
amrvacphys.t File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine checkglobaldata
 
subroutine initglobaldata
 
subroutine getaux (clipping, w, x, ixIL, ixOL, subname)
 
subroutine checkw (checkprimitive, ixIL, ixOL, w, flag)
 
subroutine conserve (ixIL, ixOL, w, x, patchw)
 
subroutine conserven (ixIL, ixOL, w, patchw)
 
subroutine primitive (ixIL, ixOL, w, x)
 
subroutine primitiven (ixIL, ixOL, w, patchw)
 
subroutine e_to_rhos (ixIL, ixOL, w, x)
 
subroutine rhos_to_e (ixIL, ixOL, w, x)
 
subroutine ppmflatcd (ixIL, ixOL, ixLL, ixRL, w, d2w, drho, dp)
 
subroutine ppmflatsh (ixIL, ixOL, ixLLL, ixLL, ixRL, ixRRL, idims, w, drho, dp, dv)
 
subroutine getv (w, x, ixIL, ixOL, idims, v)
 
subroutine getcmax (new_cmax, w, x, ixIL, ixOL, idims, cmax, cmin, needcmin)
 
subroutine getpthermal (w, x, ixIL, ixOL, p)
 
subroutine getfluxforhllc (w, x, ixIL, ixOL, iw, idims, f, transport)
 
subroutine getflux (w, x, ixIL, ixOL, iw, idims, f, transport)
 
subroutine addgeometry (qdt, ixIL, ixOL, wCT, w, x)
 
subroutine addsource (qdt, ixIL, ixOL, iwLIM, qtC, wCT, qt, w, x, qsourcesplit)
 
subroutine set_dusttozero (qdt, ixIL, ixOL, iwLIM, qtC, wCT, qt, w, x)
 
subroutine get_3d_dragforce (ixIL, ixOL, w, x, fdrag)
 
subroutine get_sticking (w, x, ixIL, ixOL, alpha_T)
 
subroutine get_tdust (w, x, ixIL, ixOL, Td)
 
subroutine getdt (w, ixIL, ixOL, dtnew, dxD, x)
 

Function/Subroutine Documentation

◆ addgeometry()

subroutine addgeometry ( double precision, intent(in)  qdt,
integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
double precision, dimension(ixi^s,1:nw), intent(inout)  wCT,
double precision, dimension(ixi^s,1:nw), intent(inout)  w,
double precision, dimension(ixi^s,1:ndim), intent(in)  x 
)

Definition at line 679 of file amrvacphys.t.

Here is the call graph for this function:

◆ addsource()

subroutine addsource ( double precision, intent(in)  qdt,
integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
integer, intent(in)  iw,
integer, intent(in)  LIM,
double precision, intent(in)  qtC,
double precision, dimension(ixi^s,1:nw), intent(inout)  wCT,
double precision, intent(in)  qt,
double precision, dimension(ixi^s,1:nw), intent(inout)  w,
double precision, dimension(ixi^s,1:ndim), intent(in)  x,
logical, intent(in)  qsourcesplit 
)

Definition at line 848 of file amrvacphys.t.

Here is the call graph for this function:

◆ checkglobaldata()

subroutine checkglobaldata ( )

Definition at line 12 of file amrvacphys.t.

Here is the call graph for this function:

◆ checkw()

subroutine checkw ( logical  checkprimitive,
integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
double precision, dimension(ixi^s,nw)  w,
logical, dimension(ixg^t)  flag 
)

Definition at line 84 of file amrvacphys.t.

◆ conserve()

subroutine conserve ( integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
double precision, dimension(ixi^s,nw)  w,
double precision, dimension(ixi^s,1:ndim), intent(in)  x,
logical, dimension(ixg^t)  patchw 
)

Definition at line 114 of file amrvacphys.t.

Here is the call graph for this function:

◆ conserven()

subroutine conserven ( integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
double precision, dimension(ixi^s,nw)  w,
logical, dimension(ixg^t)  patchw 
)

Definition at line 147 of file amrvacphys.t.

◆ e_to_rhos()

subroutine e_to_rhos ( integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
double precision, dimension(ixi^s,nw)  w,
double precision, dimension(ixi^s,1:ndim), intent(in)  x 
)

Definition at line 314 of file amrvacphys.t.

Here is the call graph for this function:

◆ get_3d_dragforce()

subroutine get_3d_dragforce ( integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
double precision, dimension(ixi^s,1:nw), intent(inout)  w,
double precision, dimension(ixi^s,1:ndim), intent(in)  x,
double precision, dimension(ixg^t,1:^nc,1:^nds), intent(out)  fdrag 
)

Definition at line 910 of file amrvacphys.t.

Here is the call graph for this function:

◆ get_sticking()

subroutine get_sticking ( double precision, dimension(ixi^s,1:nw), intent(inout)  w,
double precision, dimension(ixi^s,1:ndim), intent(in)  x,
integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
double precision, dimension(ixg^t,1:^nds), intent(out)  alpha_T 
)

Definition at line 1007 of file amrvacphys.t.

Here is the call graph for this function:

◆ get_tdust()

subroutine get_tdust ( double precision, dimension(ixi^s,1:nw), intent(inout)  w,
double precision, dimension(ixi^s,1:ndim), intent(in)  x,
integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
double precision, dimension(ixg^t,1:^nds), intent(out)  Td 
)

Definition at line 1041 of file amrvacphys.t.

Here is the call graph for this function:

◆ getaux()

subroutine getaux ( logical  clipping,
double precision, dimension(ixi^s,nw), intent(inout)  w,
double precision, dimension(ixi^s,1:ndim), intent(in)  x,
integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
character(len=*)  subname 
)

Definition at line 67 of file amrvacphys.t.

◆ getcmax()

subroutine getcmax ( logical  new_cmax,
double precision, dimension(ixi^s,nw)  w,
double precision, dimension(ixi^s,1:ndim), intent(in)  x,
integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
integer, intent(in)  idims,
double precision, dimension(ixg^t)  cmax,
double precision, dimension(ixg^t)  cmin,
logical  needcmin 
)

Definition at line 432 of file amrvacphys.t.

Here is the call graph for this function:

◆ getdt()

subroutine getdt ( double precision, dimension(ixi^s,1:nw), intent(inout)  w,
integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
double precision, intent(inout)  dtnew,
double precision, intent(in)  dx,
double precision, intent(in)  D,
double precision, dimension(ixi^s,1:ndim), intent(in)  x 
)

Definition at line 1109 of file amrvacphys.t.

Here is the call graph for this function:

◆ getflux()

subroutine getflux ( double precision, dimension(ixi^s,nw)  w,
double precision, dimension(ixi^s,1:ndim), intent(in)  x,
integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
integer, intent(in)  iw,
integer, intent(in)  idims,
double precision, dimension(ixg^t)  f,
logical  transport 
)

Definition at line 627 of file amrvacphys.t.

Here is the call graph for this function:

◆ getfluxforhllc()

subroutine getfluxforhllc ( double precision, dimension(ixi^s,nw)  w,
double precision, dimension(ixi^s,1:ndim), intent(in)  x,
integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
integer, intent(in)  iw,
integer, intent(in)  idims,
double precision, dimension(ixg^t,1:nwflux)  f,
logical  transport 
)

Definition at line 574 of file amrvacphys.t.

Here is the call graph for this function:

◆ getpthermal()

subroutine getpthermal ( double precision, dimension(ixi^s,nw)  w,
double precision, dimension(ixi^s,1:ndim), intent(in)  x,
integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
double precision, dimension(ixg^t)  p 
)

Definition at line 507 of file amrvacphys.t.

Here is the call graph for this function:

◆ getv()

subroutine getv ( double precision, dimension(ixi^s,nw)  w,
double precision, dimension(ixi^s,1:ndim), intent(in)  x,
integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
integer, intent(in)  idims,
double precision, dimension(ixg^t)  v 
)

Definition at line 405 of file amrvacphys.t.

◆ initglobaldata()

subroutine initglobaldata ( )

Definition at line 35 of file amrvacphys.t.

◆ ppmflatcd()

subroutine ppmflatcd ( integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
integer, intent(in)  ixL,
  L,
integer, intent(in)  ixR,
  L,
double precision, dimension(ixi^s,nw), intent(in)  w,
double precision, dimension(ixg^t,1:nwflux), intent(in)  d2w,
double precision, dimension(ixg^t), intent(inout)  drho,
double precision, dimension(ixg^t), intent(inout)  dp 
)

Definition at line 348 of file amrvacphys.t.

Here is the call graph for this function:

◆ ppmflatsh()

subroutine ppmflatsh ( integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
integer, intent(in)  ixLL,
  L,
integer, intent(in)  ixL,
  L,
integer, intent(in)  ixR,
  L,
integer, intent(in)  ixRR,
  L,
integer, intent(in)  idims,
double precision, dimension(ixi^s,nw), intent(in)  w,
double precision, dimension(ixg^t), intent(inout)  drho,
double precision, dimension(ixg^t), intent(inout)  dp,
double precision, dimension(ixg^t), intent(inout)  dv 
)

Definition at line 369 of file amrvacphys.t.

Here is the call graph for this function:

◆ primitive()

subroutine primitive ( integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
double precision, dimension(ixi^s,nw)  w,
double precision, dimension(ixi^s,1:ndim), intent(in)  x 
)

Definition at line 180 of file amrvacphys.t.

Here is the call graph for this function:

◆ primitiven()

subroutine primitiven ( integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
double precision, dimension(ixi^s,nw)  w,
logical, dimension(ixg^t), intent(in)  patchw 
)

Definition at line 259 of file amrvacphys.t.

◆ rhos_to_e()

subroutine rhos_to_e ( integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
double precision, dimension(ixi^s,nw)  w,
double precision, dimension(ixi^s,1:ndim), intent(in)  x 
)

Definition at line 331 of file amrvacphys.t.

Here is the call graph for this function:

◆ set_dusttozero()

subroutine set_dusttozero ( double precision, intent(in)  qdt,
integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
integer, intent(in)  iw,
integer, intent(in)  LIM,
double precision, intent(in)  qtC,
double precision, dimension(ixi^s,1:nw), intent(inout)  wCT,
double precision, intent(in)  qt,
double precision, dimension(ixi^s,1:nw), intent(inout)  w,
double precision, dimension(ixi^s,1:ndim), intent(in)  x 
)

Definition at line 891 of file amrvacphys.t.