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

Particle mover with Newtonian/relativistic Boris scheme for Lorentz dynamics By Jannis Teunissen, Bart Ripperda, Oliver Porth, and Fabio Bacchini (2016-2020) More...

Functions/Subroutines

subroutine, public lorentz_init ()
 
subroutine, public lorentz_create_particles ()
 
subroutine lorentz_fill_gridvars
 
subroutine lorentz_integrate_particles (end_time)
 Relativistic particle integrator. More...
 
subroutine lorentz_kick (upart, e, b, q, m, dtp)
 Momentum update subroutine for full Lorentz dynamics. More...
 
subroutine lorentz_update_payload (igrid, xpart, upart, qpart, mpart, mypayload, mynpayload, particle_time)
 Update payload subroutine. More...
 
double precision function lorentz_get_particle_dt (partp, end_time)
 

Detailed Description

Particle mover with Newtonian/relativistic Boris scheme for Lorentz dynamics By Jannis Teunissen, Bart Ripperda, Oliver Porth, and Fabio Bacchini (2016-2020)

Function/Subroutine Documentation

◆ lorentz_create_particles()

subroutine, public mod_particle_lorentz::lorentz_create_particles

Definition at line 78 of file mod_particle_lorentz.t.

Here is the call graph for this function:

◆ lorentz_fill_gridvars()

subroutine mod_particle_lorentz::lorentz_fill_gridvars

Definition at line 168 of file mod_particle_lorentz.t.

Here is the call graph for this function:

◆ lorentz_get_particle_dt()

double precision function mod_particle_lorentz::lorentz_get_particle_dt ( type(particle_ptr), intent(in)  partp,
double precision, intent(in)  end_time 
)

Definition at line 518 of file mod_particle_lorentz.t.

Here is the call graph for this function:

◆ lorentz_init()

subroutine, public mod_particle_lorentz::lorentz_init

Definition at line 17 of file mod_particle_lorentz.t.

Here is the call graph for this function:

◆ lorentz_integrate_particles()

subroutine mod_particle_lorentz::lorentz_integrate_particles ( double precision, intent(in)  end_time)

Relativistic particle integrator.

Definition at line 187 of file mod_particle_lorentz.t.

Here is the call graph for this function:

◆ lorentz_kick()

subroutine mod_particle_lorentz::lorentz_kick ( double precision, dimension(ndir), intent(inout)  upart,
double precision, dimension(ndir), intent(in)  e,
double precision, dimension(ndir), intent(in)  b,
double precision, intent(in)  q,
double precision, intent(in)  m,
double precision, intent(in)  dtp 
)

Momentum update subroutine for full Lorentz dynamics.

Definition at line 295 of file mod_particle_lorentz.t.

Here is the call graph for this function:

◆ lorentz_update_payload()

subroutine mod_particle_lorentz::lorentz_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 449 of file mod_particle_lorentz.t.

Here is the call graph for this function: