Report Typos and Errors    
Semi-Lagrangian Library
Modular library for kinetic and gyrokinetic simulations of plasmas in fusion energy devices.
Derived types and interfaces | Functions/Subroutines
sll_m_time_propagator_pic_vm_1d2v_ecsim Module Reference

Description

Particle pusher based on Lapentas splitting in Ecsim for 1d2v Vlasov-Poisson.

Author
Benedikt Perse, IPP

MPI parallelization by domain cloning. Periodic boundaries. Spline DoFs numerated by the point the spline starts.

Derived types and interfaces

type  sll_t_time_propagator_pic_vm_1d2v_ecsim
 Hamiltonian splitting type for Vlasov-Maxwell 1d2v. More...
 

Functions/Subroutines

subroutine strang_splitting_pic_vm_1d2v_ecsim (self, dt, number_steps)
 Finalization. More...
 
subroutine lie_splitting_pic_vm_1d2v_ecsim (self, dt, number_steps)
 Lie splitting. More...
 
subroutine lie_splitting_back_pic_vm_1d2v_ecsim (self, dt, number_steps)
 Lie splitting. More...
 
subroutine advect_x_pic_vm_1d2v_ecsim (self, dt)
 
subroutine advect_e_pic_vm_1d2v_ecsim (self, dt)
 
subroutine add_particle_mass_mixed_spline_1d (self, kernel_smoother, degree1, degree2, position, marker_charge, particle_mass)
 Add charge of one particle for splines of different degrees. More...
 
subroutine righthandside (self, dt, rhs)
 calculation of the righthandside of the system of maxwellequations for halftimestep More...
 
subroutine initialize_file_pic_vm_1d2v_ecsim (self, kernel_smoother_0, kernel_smoother_1, particle_group, efield_dofs, bfield_dofs, x_min, Lx, filename)
 Constructor. More...
 
subroutine initialize_pic_vm_1d2v_ecsim (self, kernel_smoother_0, kernel_smoother_1, particle_group, efield_dofs, bfield_dofs, x_min, Lx, solver_tolerance)
 Constructor. More...
 
subroutine delete_pic_vm_1d2v_ecsim (self)
 Destructor. More...
 

Function/Subroutine Documentation

◆ add_particle_mass_mixed_spline_1d()

subroutine sll_m_time_propagator_pic_vm_1d2v_ecsim::add_particle_mass_mixed_spline_1d ( class(sll_t_time_propagator_pic_vm_1d2v_ecsim), intent(inout)  self,
class(sll_c_particle_mesh_coupling_1d), intent(in)  kernel_smoother,
integer(kind=i32), intent(in)  degree1,
integer(kind=i32), intent(in)  degree2,
real(kind=f64), dimension(self%kernel_smoother_1%dim), intent(in)  position,
real(kind=f64), intent(in)  marker_charge,
real(kind=f64), dimension(:,:), intent(inout)  particle_mass 
)
private

Add charge of one particle for splines of different degrees.

Parameters
[in,out]selfTime splitting object
[in]kernel_smootherKernel smoother
[in]degree1Degrees of first spline
[in]degree2Degree of second spline
[in]positionPosition of the particle
[in]marker_chargeParticle weights time charge
[in,out]particle_massCoefficient vector of the charge distribution

Definition at line 297 of file sll_m_time_propagator_pic_vm_1d2v_ecsim.F90.

Here is the caller graph for this function:

◆ advect_e_pic_vm_1d2v_ecsim()

subroutine sll_m_time_propagator_pic_vm_1d2v_ecsim::advect_e_pic_vm_1d2v_ecsim ( class(sll_t_time_propagator_pic_vm_1d2v_ecsim), intent(inout)  self,
real(kind=f64), intent(in)  dt 
)
private
Parameters
[in,out]selftime splitting object
[in]dttime step

Definition at line 172 of file sll_m_time_propagator_pic_vm_1d2v_ecsim.F90.

Here is the call graph for this function:

◆ advect_x_pic_vm_1d2v_ecsim()

subroutine sll_m_time_propagator_pic_vm_1d2v_ecsim::advect_x_pic_vm_1d2v_ecsim ( class(sll_t_time_propagator_pic_vm_1d2v_ecsim), intent(inout)  self,
real(kind=f64), intent(in)  dt 
)
private
Parameters
[in,out]selftime splitting object
[in]dttime step

Definition at line 150 of file sll_m_time_propagator_pic_vm_1d2v_ecsim.F90.

◆ delete_pic_vm_1d2v_ecsim()

subroutine sll_m_time_propagator_pic_vm_1d2v_ecsim::delete_pic_vm_1d2v_ecsim ( class(sll_t_time_propagator_pic_vm_1d2v_ecsim), intent(inout)  self)
private

Destructor.

Parameters
[in,out]selftime splitting object

Definition at line 539 of file sll_m_time_propagator_pic_vm_1d2v_ecsim.F90.

◆ initialize_file_pic_vm_1d2v_ecsim()

subroutine sll_m_time_propagator_pic_vm_1d2v_ecsim::initialize_file_pic_vm_1d2v_ecsim ( class(sll_t_time_propagator_pic_vm_1d2v_ecsim), intent(out)  self,
class(sll_c_particle_mesh_coupling_1d), intent(in), target  kernel_smoother_0,
class(sll_c_particle_mesh_coupling_1d), intent(in), target  kernel_smoother_1,
class(sll_t_particle_array), intent(in), target  particle_group,
real(kind=f64), dimension(:,:), intent(in), target  efield_dofs,
real(kind=f64), dimension(:), intent(in), target  bfield_dofs,
real(kind=f64), intent(in)  x_min,
real(kind=f64), intent(in)  Lx,
character(len=*), intent(in)  filename 
)
private

Constructor.

Parameters
[out]selftime splitting object
[in]kernel_smoother_0Kernel smoother
[in]kernel_smoother_1Kernel smoother
[in]particle_groupParticle group
[in]efield_dofsarray for the coefficients of the efields
[in]bfield_dofsarray for the coefficients of the bfield
[in]x_minLower bound of x domain
[in]lxLength of the domain in x direction.

Definition at line 399 of file sll_m_time_propagator_pic_vm_1d2v_ecsim.F90.

◆ initialize_pic_vm_1d2v_ecsim()

subroutine sll_m_time_propagator_pic_vm_1d2v_ecsim::initialize_pic_vm_1d2v_ecsim ( class(sll_t_time_propagator_pic_vm_1d2v_ecsim), intent(out)  self,
class(sll_c_particle_mesh_coupling_1d), intent(in), target  kernel_smoother_0,
class(sll_c_particle_mesh_coupling_1d), intent(in), target  kernel_smoother_1,
class(sll_t_particle_array), intent(in), target  particle_group,
real(kind=f64), dimension(:,:), intent(in), target  efield_dofs,
real(kind=f64), dimension(:), intent(in), target  bfield_dofs,
real(kind=f64), intent(in)  x_min,
real(kind=f64), intent(in)  Lx,
real(kind=f64), intent(in), optional  solver_tolerance 
)
private

Constructor.

Parameters
[out]selftime splitting object
[in]kernel_smoother_0Kernel smoother
[in]kernel_smoother_1Kernel smoother
[in]particle_groupParticle group
[in]efield_dofsarray for the coefficients of the efields
[in]bfield_dofsarray for the coefficients of the bfield
[in]x_minLower bound of x domain
[in]lxLength of the domain in x direction.
[in]solver_tolerancesolver tolerance

Definition at line 455 of file sll_m_time_propagator_pic_vm_1d2v_ecsim.F90.

Here is the call graph for this function:

◆ lie_splitting_back_pic_vm_1d2v_ecsim()

subroutine sll_m_time_propagator_pic_vm_1d2v_ecsim::lie_splitting_back_pic_vm_1d2v_ecsim ( class(sll_t_time_propagator_pic_vm_1d2v_ecsim), intent(inout)  self,
real(kind=f64), intent(in)  dt,
integer(kind=i32), intent(in)  number_steps 
)
private

Lie splitting.

Parameters
[in,out]selftime splitting object
[in]dttime step
[in]number_stepsnumber of time steps

Definition at line 135 of file sll_m_time_propagator_pic_vm_1d2v_ecsim.F90.

◆ lie_splitting_pic_vm_1d2v_ecsim()

subroutine sll_m_time_propagator_pic_vm_1d2v_ecsim::lie_splitting_pic_vm_1d2v_ecsim ( class(sll_t_time_propagator_pic_vm_1d2v_ecsim), intent(inout)  self,
real(kind=f64), intent(in)  dt,
integer(kind=i32), intent(in)  number_steps 
)
private

Lie splitting.

Parameters
[in,out]selftime splitting object
[in]dttime step
[in]number_stepsnumber of time steps

Definition at line 119 of file sll_m_time_propagator_pic_vm_1d2v_ecsim.F90.

◆ righthandside()

subroutine sll_m_time_propagator_pic_vm_1d2v_ecsim::righthandside ( class(sll_t_time_propagator_pic_vm_1d2v_ecsim), intent(inout)  self,
real(kind=f64), intent(in)  dt,
real(kind=f64), dimension(3*self%n_dofs), intent(out)  rhs 
)
private

calculation of the righthandside of the system of maxwellequations for halftimestep

calculation of the righthandside of the system of maxwellequations

Parameters
[in,out]selfTime splitting object
[in]dtTimestep
[out]rhsRighthandside of the equationsystem

Definition at line 336 of file sll_m_time_propagator_pic_vm_1d2v_ecsim.F90.

Here is the caller graph for this function:

◆ strang_splitting_pic_vm_1d2v_ecsim()

subroutine sll_m_time_propagator_pic_vm_1d2v_ecsim::strang_splitting_pic_vm_1d2v_ecsim ( class(sll_t_time_propagator_pic_vm_1d2v_ecsim), intent(inout)  self,
real(kind=f64), intent(in)  dt,
integer(kind=i32), intent(in)  number_steps 
)
private

Finalization.

Strang splitting

Parameters
[in,out]selftime splitting object
[in]dttime step
[in]number_stepsnumber of time steps

Definition at line 101 of file sll_m_time_propagator_pic_vm_1d2v_ecsim.F90.

    Report Typos and Errors