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 checkw (checkprimitive, ixIL, ixOL, w, flag)
 
subroutine conserve (ixIL, ixOL, w, x, patchw)
 
subroutine conserven (ixIL, ixOL, w, patchw)
 
subroutine ecrossb (ixIL, ixOL, idir, w, patchw, res)
 
subroutine vcrossb (ixIL, ixOL, idir, w, x, patchw, res)
 
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 getflux (w, x, ixIL, ixOL, iw, idims, f, transport)
 
subroutine getfluxforhllc (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 addsource_a (qdt, ixIL, ixOL, iwLIM, qtC, wCT, qt, w, x, dxD)
 
subroutine addsource_b (qdt, ixIL, ixOL, iwLIM, qtC, wCT, qt, w, x, dxD)
 
subroutine getdt (w, ixGL, ixL, dtnew, dxD, x)
 
subroutine getcurrent (ixIL, ixOL, w, x, primvar, current)
 

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 616 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(in)  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 638 of file amrvacphys.t.

Here is the call graph for this function:

◆ addsource_a()

subroutine addsource_a ( 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(in)  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,
double precision, intent(in)  dx,
double precision, intent(in)  D 
)

Definition at line 669 of file amrvacphys.t.

Here is the call graph for this function:

◆ addsource_b()

subroutine addsource_b ( 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(in)  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,
double precision, intent(in)  dx,
double precision, intent(in)  D 
)

Definition at line 691 of file amrvacphys.t.

Here is the call graph for this function:

◆ checkglobaldata()

subroutine checkglobaldata ( )

Definition at line 10 of file amrvacphys.t.

Here is the call graph for this function:

◆ checkw()

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

Definition at line 60 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), intent(inout)  w,
double precision, dimension(ixi^s,1:ndim), intent(in)  x,
logical, dimension(ixg^t), intent(in)  patchw 
)

Definition at line 122 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), intent(inout)  w,
logical, dimension(ixg^t), intent(in)  patchw 
)

Definition at line 182 of file amrvacphys.t.

Here is the call graph for this function:

◆ e_to_rhos()

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

Definition at line 385 of file amrvacphys.t.

Here is the call graph for this function:

◆ ecrossb()

subroutine ecrossb ( integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
integer, intent(in)  idir,
double precision, dimension(ixi^s,1:nw), intent(in)  w,
logical, dimension(ixg^t), intent(in)  patchw,
double precision, dimension(ixg^t), intent(out)  res 
)

Definition at line 250 of file amrvacphys.t.

◆ getcmax()

subroutine getcmax ( logical, intent(in)  new_cmax,
double precision, dimension(ixi^s,1:nw), intent(in)  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), intent(out)  cmax,
double precision, dimension(ixg^t), intent(out)  cmin,
logical, intent(in)  needcmin 
)

Definition at line 467 of file amrvacphys.t.

◆ getcurrent()

subroutine getcurrent ( integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
double precision, dimension(ixi^s,1:nw), intent(in)  w,
double precision, dimension(ixi^s,1:ndim), intent(in)  x,
logical, intent(in)  primvar,
double precision, dimension(ixg^t,1:ndir), intent(out)  current 
)

Definition at line 759 of file amrvacphys.t.

Here is the call graph for this function:

◆ getdt()

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

Definition at line 744 of file amrvacphys.t.

◆ getflux()

subroutine getflux ( double precision, dimension(ixi^s,nw), intent(in)  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), intent(out)  f,
logical, intent(out)  transport 
)

Definition at line 486 of file amrvacphys.t.

Here is the call graph for this function:

◆ getfluxforhllc()

subroutine getfluxforhllc ( double precision, dimension(ixi^s,nw), intent(in)  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), intent(out)  f,
logical, intent(out)  transport 
)

Definition at line 598 of file amrvacphys.t.

Here is the call graph for this function:

◆ getv()

subroutine getv ( double precision, dimension(ixi^s,1:nw), intent(in)  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), intent(out)  v 
)

Definition at line 442 of file amrvacphys.t.

Here is the call graph for this function:

◆ initglobaldata()

subroutine initglobaldata ( )

Definition at line 38 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 410 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 426 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,1:nw), intent(inout)  w,
double precision, dimension(ixi^s,1:ndim), intent(in)  x 
)

Definition at line 305 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,1:nw), intent(inout)  w,
logical, dimension(ixg^t), intent(in)  patchw 
)

Definition at line 331 of file amrvacphys.t.

Here is the call graph for this function:

◆ rhos_to_e()

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

Definition at line 397 of file amrvacphys.t.

Here is the call graph for this function:

◆ vcrossb()

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

Definition at line 275 of file amrvacphys.t.

Here is the call graph for this function: