MPI-AMRVAC  3.0
The MPI - Adaptive Mesh Refinement - Versatile Advection Code
Functions/Subroutines
mod_finite_volume Module Reference

Module with finite volume methods for fluxes. More...

Functions/Subroutines

subroutine, public hancock (qdt, ixIL, ixOL, idimsLIM, qtC, sCT, qt, snew, dxs, x)
 The non-conservative Hancock predictor for TVDLF. More...
 
subroutine, public finite_volume (method, qdt, ixIL, ixOL, idimsLIM, qtC, sCT, qt, snew, sold, fC, fE, dxs, x)
 finite volume method More...
 
subroutine, public reconstruct_lr (ixIL, ixLL, ixRL, idims, w, wLC, wRC, wLp, wRp, x, dxdim)
 Determine the upwinded wLC(ixL) and wRC(ixR) from w. the wCT is only used when PPM is exploited. More...
 

Detailed Description

Module with finite volume methods for fluxes.

Function/Subroutine Documentation

◆ finite_volume()

subroutine, public mod_finite_volume::finite_volume ( integer, intent(in)  method,
double precision, intent(in)  qdt,
integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
integer, intent(in)  idims,
integer, intent(in)  LIM,
double precision, intent(in)  qtC,
type(state sCT,
double precision, intent(in)  qt,
type(state snew,
type(state sold,
double precision, dimension(ixi^s,1:nwflux,1:ndim)  fC,
double precision, dimension(ixi^s,7-2*ndim:3)  fE,
double precision, dimension(ndim), intent(in)  dxs,
double precision, dimension(ixi^s,1:ndim), intent(in)  x 
)

finite volume method

Definition at line 97 of file mod_finite_volume.t.

Here is the call graph for this function:

◆ hancock()

subroutine, public mod_finite_volume::hancock ( double precision, intent(in)  qdt,
integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
integer, intent(in)  idims,
integer, intent(in)  LIM,
double precision, intent(in)  qtC,
type(state sCT,
double precision, intent(in)  qt,
type(state snew,
double precision, dimension(ndim), intent(in)  dxs,
double precision, dimension(ixi^s,1:ndim), intent(in)  x 
)

The non-conservative Hancock predictor for TVDLF.

on entry: input available on ixI^L=ixG^L asks for output on ixO^L=ixG^L^LSUBnghostcells one entry: (predictor): wCT – w_n wnew – w_n qdt=dt/2 on exit : (predictor): wCT – w_n wnew – w_n+1/2

Definition at line 19 of file mod_finite_volume.t.

Here is the call graph for this function:

◆ reconstruct_lr()

subroutine, public mod_finite_volume::reconstruct_lr ( integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixL,
  L,
integer, intent(in)  ixR,
  L,
integer, intent(in)  idims,
double precision, dimension(ixi^s,1:nw)  w,
double precision, dimension(ixi^s,1:nw)  wLC,
double precision, dimension(ixi^s,1:nw)  wRC,
double precision, dimension(ixi^s,1:nw)  wLp,
double precision, dimension(ixi^s,1:nw)  wRp,
double precision, dimension(ixi^s,1:ndim)  x,
double precision, intent(in)  dxdim 
)

Determine the upwinded wLC(ixL) and wRC(ixR) from w. the wCT is only used when PPM is exploited.

Definition at line 1072 of file mod_finite_volume.t.

Here is the call graph for this function: