MPI-AMRVAC  3.1
The MPI - Adaptive Mesh Refinement - Versatile Advection Code (development version)
Functions/Subroutines | Variables
mod_dipole Module Reference

sets up a magnetic dipole in a 3D cartesian box More...

Functions/Subroutines

subroutine dipole (ixIL, ixOL, x, B)
 

Variables

double precision mu_dipole
 
double precision theta_dipole
 
double precision phi_dipole
 
double precision x1_dip
 
double precision x2_dip
 
double precision x3_dip
 
double precision mx
 
double precision my
 
double precision mz
 

Detailed Description

sets up a magnetic dipole in a 3D cartesian box

Function/Subroutine Documentation

◆ dipole()

subroutine mod_dipole::dipole ( integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
double precision, dimension(ixi^s,1:ndim), intent(in)  x,
double precision, dimension(ixi^s,1:ndir), intent(inout)  B 
)

Definition at line 15 of file mod_dipole.t.

Here is the call graph for this function:

Variable Documentation

◆ mu_dipole

double precision mod_dipole::mu_dipole

Definition at line 9 of file mod_dipole.t.

◆ mx

double precision mod_dipole::mx

Definition at line 10 of file mod_dipole.t.

◆ my

double precision mod_dipole::my

Definition at line 10 of file mod_dipole.t.

◆ mz

double precision mod_dipole::mz

Definition at line 10 of file mod_dipole.t.

◆ phi_dipole

double precision mod_dipole::phi_dipole

Definition at line 9 of file mod_dipole.t.

◆ theta_dipole

double precision mod_dipole::theta_dipole

Definition at line 9 of file mod_dipole.t.

◆ x1_dip

double precision mod_dipole::x1_dip

Definition at line 9 of file mod_dipole.t.

◆ x2_dip

double precision mod_dipole::x2_dip

Definition at line 9 of file mod_dipole.t.

◆ x3_dip

double precision mod_dipole::x3_dip

Definition at line 9 of file mod_dipole.t.