MPI-AMRVAC  3.1
The MPI - Adaptive Mesh Refinement - Versatile Advection Code (development version)
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, Hspeed, 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, dtfactor, ixIL, ixOL, wCT, wprim, w, x)
 

Variables

integer, public, protected rho_ = 1
 
logical, public, protected rho_particles = .false.
 Whether particles module is added. More...
 
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,
double precision, intent(in)  dtfactor,
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)  wprim,
double precision, dimension(ixi^s, 1:nw), intent(inout)  w,
double precision, dimension(ixi^s, 1:^nd), intent(in)  x 
)

Definition at line 336 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,1:number_species), intent(in)  Hspeed,
double precision, dimension(ixi^s,1:number_species), intent(inout)  cmax,
double precision, dimension(ixi^s,1:number_species), intent(inout), optional  cmin 
)

Definition at line 287 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 275 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 311 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 322 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 122 of file mod_rho_phys.t.

◆ 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 264 of file mod_rho_phys.t.

◆ rho_phys_init()

subroutine, public mod_rho_phys::rho_phys_init

Definition at line 56 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 104 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 113 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 36 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_particles

logical, public, protected mod_rho_phys::rho_particles = .false.

Whether particles module is added.

Definition at line 10 of file mod_rho_phys.t.

◆ rho_v

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

Definition at line 12 of file mod_rho_phys.t.