MPI-AMRVAC  2.0
The MPI - Adaptive Mesh Refinement - Versatile Advection Code
Functions/Subroutines | Variables
mod_rho_phys Module Reference

Module containing the physics routines for scalar advection. More...

Functions/Subroutines

subroutine rho_write_info (fh)
 Write this module's parameters to a snapsoht. More...
 
subroutine, public rho_phys_init ()
 
subroutine rho_to_conserved (ixIL, ixOL, w, x)
 
subroutine rho_to_primitive (ixIL, ixOL, w, x)
 
subroutine, public rho_get_v (w, x, ixIL, ixOL, idim, v, centered)
 
subroutine rho_get_v_idim (w, x, ixIL, ixOL, idim, v)
 Calculate simple v component. More...
 
subroutine rho_get_cmax (w, x, ixIL, ixOL, idim, cmax)
 
subroutine rho_get_cbounds (wLC, wRC, wLp, wRp, x, ixIL, ixOL, idim, cmax, cmin)
 
subroutine rho_get_dt (w, ixIL, ixOL, dtnew, dxD, x)
 
subroutine rho_get_flux (wC, w, x, ixIL, ixOL, idim, f)
 
subroutine rho_add_source_geom (qdt, ixIL, ixOL, wCT, w, x)
 

Variables

integer, public, protected rho_ = 1
 
double precision, dimension(^nd), public, protected rho_v = 1.0d0
 

Detailed Description

Module containing the physics routines for scalar advection.

Function/Subroutine Documentation

◆ rho_add_source_geom()

subroutine mod_rho_phys::rho_add_source_geom ( 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:^nd), intent(in)  x 
)

Definition at line 314 of file mod_rho_phys.t.

◆ rho_get_cbounds()

subroutine mod_rho_phys::rho_get_cbounds ( double precision, dimension(ixi^s, nw), intent(in)  wLC,
double precision, dimension(ixi^s,nw), intent(in)  wRC,
double precision, dimension(ixi^s, nw), intent(in)  wLp,
double precision, dimension(ixi^s,nw), intent(in)  wRp,
double precision, dimension(ixi^s, 1:^nd), intent(in)  x,
integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
integer, intent(in)  idim,
double precision, dimension(ixi^s), intent(inout)  cmax,
double precision, dimension(ixi^s), intent(inout), optional  cmin 
)

Definition at line 267 of file mod_rho_phys.t.

Here is the call graph for this function:

◆ rho_get_cmax()

subroutine mod_rho_phys::rho_get_cmax ( double precision, dimension(ixi^s, nw), intent(in)  w,
double precision, dimension(ixi^s, 1:^nd), intent(in)  x,
integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
integer, intent(in)  idim,
double precision, dimension(ixi^s), intent(inout)  cmax 
)

Definition at line 255 of file mod_rho_phys.t.

Here is the call graph for this function:

◆ rho_get_dt()

subroutine mod_rho_phys::rho_get_dt ( double precision, dimension(ixi^s, 1:nw), intent(in)  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:^nd), intent(in)  x 
)

Definition at line 289 of file mod_rho_phys.t.

◆ rho_get_flux()

subroutine mod_rho_phys::rho_get_flux ( double precision, dimension(ixi^s, 1:nw), intent(in)  wC,
double precision, dimension(ixi^s, 1:nw), intent(in)  w,
double precision, dimension(ixi^s, 1:^nd), intent(in)  x,
integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
integer, intent(in)  idim,
double precision, dimension(ixi^s, nwflux), intent(out)  f 
)

Definition at line 300 of file mod_rho_phys.t.

Here is the call graph for this function:

◆ rho_get_v()

subroutine, public mod_rho_phys::rho_get_v ( double precision, dimension(ixi^s, nw), intent(in)  w,
double precision, dimension(ixi^s, 1:^nd), intent(in)  x,
integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
integer, intent(in)  idim,
double precision, dimension(ixi^s), intent(out)  v,
logical, intent(in)  centered 
)

Definition at line 103 of file mod_rho_phys.t.

Here is the call graph for this function:

◆ rho_get_v_idim()

subroutine mod_rho_phys::rho_get_v_idim ( 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)  idim,
double precision, dimension(ixi^s), intent(out)  v 
)

Calculate simple v component.

Definition at line 244 of file mod_rho_phys.t.

◆ rho_phys_init()

subroutine, public mod_rho_phys::rho_phys_init ( )

Definition at line 53 of file mod_rho_phys.t.

Here is the call graph for this function:

◆ rho_to_conserved()

subroutine mod_rho_phys::rho_to_conserved ( 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:^nd), intent(in)  x 
)

Definition at line 85 of file mod_rho_phys.t.

◆ rho_to_primitive()

subroutine mod_rho_phys::rho_to_primitive ( 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:^nd), intent(in)  x 
)

Definition at line 94 of file mod_rho_phys.t.

◆ rho_write_info()

subroutine mod_rho_phys::rho_write_info ( integer, intent(in)  fh)

Write this module's parameters to a snapsoht.

Definition at line 33 of file mod_rho_phys.t.

Variable Documentation

◆ rho_

integer, public, protected mod_rho_phys::rho_ = 1

Definition at line 7 of file mod_rho_phys.t.

◆ rho_v

double precision, dimension(^nd), public, protected mod_rho_phys::rho_v = 1.0d0

Definition at line 8 of file mod_rho_phys.t.