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

Functions/Subroutines

subroutine, public get_divb (w, ixIL, ixOL, divb, fourthorder)
 Calculate div B within ixO. More...
 

Variables

integer, dimension(:), allocatable, public mag
 Indices of the magnetic field. More...
 

Function/Subroutine Documentation

◆ get_divb()

subroutine, public mod_functions_bfield::get_divb ( 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, dimension(ixi^s), intent(inout)  divb,
logical, intent(in), optional  fourthorder 
)

Calculate div B within ixO.

Definition at line 16 of file mod_functions_bfield.t.

Here is the call graph for this function:

Variable Documentation

◆ mag

integer, dimension(:), allocatable, public mod_functions_bfield::mag

Indices of the magnetic field.

Definition at line 10 of file mod_functions_bfield.t.