MPI-AMRVAC 3.1
The MPI - Adaptive Mesh Refinement - Versatile Advection Code (development version)
Loading...
Searching...
No Matches
Functions/Subroutines
mod_constrained_transport Module Reference

Functions/Subroutines

subroutine recalculateb
 re-calculate the magnetic field from the vector potential in a completely divergency free way
 
subroutine fake_advance (igrid, idimlim, s)
 fake advance a step to calculate magnetic field
 
subroutine fake_update (ixil, s, fc, fe, dxd)
 fake update magnetic field from vector potential
 
subroutine b_from_vector_potentiala (ixisl, ixil, ixol, ws, x, a)
 calculate magnetic field from vector potential A at cell edges
 
subroutine reconstruct (ixil, ixcl, idir, q, ql, qr)
 Reconstruct scalar q within ixO^L to 1/2 dx in direction idir Return both left and right reconstructed values.
 

Function/Subroutine Documentation

◆ b_from_vector_potentiala()

subroutine mod_constrained_transport::b_from_vector_potentiala ( integer, intent(in)  ixis,
integer, intent(in)  l,
integer, intent(in)  ixi,
  l,
integer, intent(in)  ixo,
  l,
double precision, dimension(ixis^s,1:nws), intent(inout)  ws,
double precision, dimension(ixi^s,1:ndim), intent(in)  x,
double precision, dimension(ixis^s,1:3), intent(inout)  a 
)

calculate magnetic field from vector potential A at cell edges

Definition at line 103 of file mod_constrained_transport.t.

◆ fake_advance()

subroutine mod_constrained_transport::fake_advance ( integer  igrid,
integer  idim,
integer  lim,
type(state s 
)

fake advance a step to calculate magnetic field

Definition at line 50 of file mod_constrained_transport.t.

Here is the call graph for this function:

◆ fake_update()

subroutine mod_constrained_transport::fake_update ( integer  ixi,
integer  l,
type(state s,
double precision, dimension(ixi^s,1:nwflux,1:ndim)  fc,
double precision, dimension(ixi^s,sdim:3)  fe,
double precision  dx,
double precision  d 
)

fake update magnetic field from vector potential

Definition at line 71 of file mod_constrained_transport.t.

Here is the call graph for this function:

◆ recalculateb()

subroutine mod_constrained_transport::recalculateb

re-calculate the magnetic field from the vector potential in a completely divergency free way

Definition at line 8 of file mod_constrained_transport.t.

Here is the call graph for this function:

◆ reconstruct()

subroutine mod_constrained_transport::reconstruct ( integer, intent(in)  ixi,
integer, intent(in)  l,
integer, intent(in)  ixc,
  l,
integer, intent(in)  idir,
double precision, dimension(ixi^s), intent(in)  q,
double precision, dimension(ixi^s), intent(out)  ql,
double precision, dimension(ixi^s), intent(out)  qr 
)

Reconstruct scalar q within ixO^L to 1/2 dx in direction idir Return both left and right reconstructed values.

Definition at line 177 of file mod_constrained_transport.t.

Here is the call graph for this function: