MPI-AMRVAC  3.0
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 (xpart, upart, e, b, q, m, dtp)
 Momentum update subroutine for full Lorentz dynamics. More...
 
subroutine lorentz_update_payload (igrid, w, wold, xgrid, 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 71 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 161 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 574 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 193 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(ndim), intent(inout)  xpart,
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 254 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(ixg^t,1:nw), intent(in)  w,
double precision, dimension(ixg^t,1:nw), intent(in)  wold,
double precision, dimension(ixg^t,1:ndim), intent(in)  xgrid,
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 533 of file mod_particle_lorentz.t.

Here is the call graph for this function: