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

Particle mover with Newtonian/relativistic Guiding Center Approximation (GCA) By Jannis Teunissen, Bart Ripperda, Oliver Porth, and Fabio Bacchini (2016-2020) More...

Functions/Subroutines

subroutine, public gca_init ()
 
subroutine, public gca_create_particles ()
 
subroutine gca_fill_gridvars
 
subroutine gca_integrate_particles (end_time)
 
subroutine derivs_gca_rk (t_s, y, dydt)
 
subroutine derivs_gca (t_s, y, dydt)
 
subroutine gca_update_payload (igrid, xpart, upart, qpart, mpart, mypayload, mynpayload, particle_time)
 Update payload subroutine. More...
 
double precision function gca_get_particle_dt (partp, end_time)
 

Variables

integer, dimension(:), allocatable, public, protected grad_kappa_b
 Variable index for gradient B, with relativistic correction 1/kappa where kappa = 1/sqrt(1 - E_perp^2/B^2) More...
 
integer, dimension(:), allocatable, public, protected b_dot_grad_b
 Variable index for (B . grad)B (curvature B drift) More...
 
integer, dimension(:), allocatable, public, protected ve_dot_grad_b
 Variable index for curvature drift. More...
 
integer, dimension(:), allocatable, public, protected b_dot_grad_ve
 Variable index for polarization drift. More...
 
integer, dimension(:), allocatable, public, protected ve_dot_grad_ve
 Variable index for polarization drift. More...
 

Detailed Description

Particle mover with Newtonian/relativistic Guiding Center Approximation (GCA) By Jannis Teunissen, Bart Ripperda, Oliver Porth, and Fabio Bacchini (2016-2020)

Function/Subroutine Documentation

◆ derivs_gca()

subroutine mod_particle_gca::derivs_gca ( double precision  t_s,
double precision, dimension(ndir+2)  y,
double precision, dimension(ndir+2)  dydt 
)

Definition at line 643 of file mod_particle_gca.t.

Here is the call graph for this function:

◆ derivs_gca_rk()

subroutine mod_particle_gca::derivs_gca_rk ( double precision  t_s,
double precision, dimension(ndir+2)  y,
double precision, dimension(ndir+2)  dydt 
)

Definition at line 538 of file mod_particle_gca.t.

Here is the call graph for this function:

◆ gca_create_particles()

subroutine, public mod_particle_gca::gca_create_particles

Definition at line 110 of file mod_particle_gca.t.

Here is the call graph for this function:

◆ gca_fill_gridvars()

subroutine mod_particle_gca::gca_fill_gridvars

Definition at line 217 of file mod_particle_gca.t.

Here is the call graph for this function:

◆ gca_get_particle_dt()

double precision function mod_particle_gca::gca_get_particle_dt ( type(particle_ptr), intent(in)  partp,
double precision, intent(in)  end_time 
)

Definition at line 862 of file mod_particle_gca.t.

Here is the call graph for this function:

◆ gca_init()

subroutine, public mod_particle_gca::gca_init

Definition at line 33 of file mod_particle_gca.t.

Here is the call graph for this function:

◆ gca_integrate_particles()

subroutine mod_particle_gca::gca_integrate_particles ( double precision, intent(in)  end_time)

Definition at line 307 of file mod_particle_gca.t.

Here is the call graph for this function:

◆ gca_update_payload()

subroutine mod_particle_gca::gca_update_payload ( integer, intent(in)  igrid,
double precision, dimension(1:ndir), intent(in)  xpart,
double precision, dimension(1:ndir), intent(in)  upart,
double precision, intent(in)  qpart,
double precision, intent(in)  mpart,
double precision, dimension(mynpayload), intent(out)  mypayload,
integer, intent(in)  mynpayload,
double precision, intent(in)  particle_time 
)

Update payload subroutine.

Definition at line 723 of file mod_particle_gca.t.

Here is the call graph for this function:

Variable Documentation

◆ b_dot_grad_b

integer, dimension(:), allocatable, public, protected mod_particle_gca::b_dot_grad_b

Variable index for (B . grad)B (curvature B drift)

Definition at line 12 of file mod_particle_gca.t.

◆ b_dot_grad_ve

integer, dimension(:), allocatable, public, protected mod_particle_gca::b_dot_grad_ve

Variable index for polarization drift.

Definition at line 18 of file mod_particle_gca.t.

◆ grad_kappa_b

integer, dimension(:), allocatable, public, protected mod_particle_gca::grad_kappa_b

Variable index for gradient B, with relativistic correction 1/kappa where kappa = 1/sqrt(1 - E_perp^2/B^2)

Definition at line 10 of file mod_particle_gca.t.

◆ ve_dot_grad_b

integer, dimension(:), allocatable, public, protected mod_particle_gca::ve_dot_grad_b

Variable index for curvature drift.

Definition at line 16 of file mod_particle_gca.t.

◆ ve_dot_grad_ve

integer, dimension(:), allocatable, public, protected mod_particle_gca::ve_dot_grad_ve

Variable index for polarization drift.

Definition at line 20 of file mod_particle_gca.t.