MPI-AMRVAC  3.1
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, dtfactor, ixIL, ixOL, idimsLIM, qtC, sCT, qt, snew, dxs, x)
 The non-conservative Hancock predictor for TVDLF. More...
 
subroutine, public finite_volume (method, qdt, dtfactor, ixIL, ixOL, idimsLIM, qtC, sCT, qt, snew, 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,
double precision, intent(in)  dtfactor,
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(ixi^s,1:nwflux,1:ndim)  fC,
double precision, dimension(ixi^s,sdim: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 114 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,
double precision, intent(in)  dtfactor,
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 1076 of file mod_finite_volume.t.

Here is the call graph for this function: