Semi-Lagrangian Library
Modular library for kinetic and gyrokinetic simulations of plasmas in fusion energy devices.
|
Particle pusher based on Hamiltonian splitting for 1d2v Vlasov-Maxwell with coordinate transformation.
MPI parallelization by domain cloning. Periodic boundaries. Spline DoFs numerated by the point the spline starts. Reference: Kraus, Kormann, Sonnendrücker, Morrison: GEMPIC: Geometric ElectroMagnetic Particle-In-Cell Methods
Derived types and interfaces | |
type | sll_t_time_propagator_pic_vm_1d2v_hs_trafo |
Hamiltonian splitting type for Vlasov-Maxwell 1d2v. More... | |
Functions/Subroutines | |
subroutine | strang_splitting_pic_vm_1d2v (self, dt, number_steps) |
Finalization. More... | |
subroutine | lie_splitting_pic_vm_1d2v (self, dt, number_steps) |
Lie splitting. More... | |
subroutine | lie_splitting_back_pic_vm_1d2v (self, dt, number_steps) |
Lie splitting (oposite ordering) More... | |
subroutine | operatorhp_pic_vm_1d2v (self, dt) |
Push Hp1: Equations to solve are \partial_t f + v_1 \partial_{x_1} f = 0 -> X_new = X_old + dt V_1 V_new,2 = V_old,2 + \int_0 h V_old,1 B_old \partial_t E_1 = - \int v_1 f(t,x_1, v) dv -> E_{1,new} = E_{1,old} - \int \int v_1 f(t,x_1+s v_1,v) dv ds \partial_t E_2 = 0 -> E_{2,new} = E_{2,old} \partial_t B = 0 => B_new = B_old. More... | |
subroutine | operatorhe_pic_vm_1d2v (self, dt) |
Push H_E: Equations to be solved \partial_t f + E_1 \partial_{v_1} f + E_2 \partial_{v_2} f = 0 -> V_new = V_old + dt * E \partial_t E_1 = 0 -> E_{1,new} = E_{1,old} \partial_t E_2 = 0 -> E_{2,new} = E_{2,old} \partial_t B + \partial_{x_1} E_2 = 0 => B_new = B_old - dt \partial_{x_1} E_2. More... | |
subroutine | operatorhb_pic_vm_1d2v (self, dt) |
Push H_B: Equations to be solved V_new = V_old \partial_t E_1 = 0 -> E_{1,new} = E_{1,old} \partial_t E_2 = - \partial_{x_1} B -> E_{2,new} = E_{2,old}-dt*\partial_{x_1} B \partial_t B = 0 -> B_new = B_old. More... | |
subroutine | initialize_pic_vm_1d2v (self, maxwell_solver, kernel_smoother_0, kernel_smoother_1, particle_group, efield_dofs, bfield_dofs, x_min, Lx, map, electrostatic) |
Constructor. More... | |
subroutine | delete_pic_vm_1d2v (self) |
Destructor. More... | |
|
private |
Destructor.
[in,out] | self | time propagator object |
Definition at line 375 of file sll_m_time_propagator_pic_vm_1d2v_hs_trafo.F90.
|
private |
Constructor.
[out] | self | time propagator object |
[in] | maxwell_solver | Maxwell solver |
[in] | kernel_smoother_0 | Kernel smoother |
[in] | kernel_smoother_1 | Kernel smoother |
[in] | particle_group | Particle group |
[in] | efield_dofs | array for the coefficients of the efields |
[in] | bfield_dofs | array for the coefficients of the bfield |
[in] | x_min | Lower bound of x domain |
[in] | lx | Length of the domain in x direction. |
[in,out] | map | Coordinate transformation |
electrostatic | true for electrostatic simulation |
Definition at line 321 of file sll_m_time_propagator_pic_vm_1d2v_hs_trafo.F90.
|
private |
Lie splitting (oposite ordering)
[in,out] | self | time propagator object |
[in] | dt | time step |
[in] | number_steps | number of time steps |
Definition at line 135 of file sll_m_time_propagator_pic_vm_1d2v_hs_trafo.F90.
|
private |
Lie splitting.
[in,out] | self | time propagator object |
[in] | dt | time step |
[in] | number_steps | number of time steps |
Definition at line 110 of file sll_m_time_propagator_pic_vm_1d2v_hs_trafo.F90.
|
private |
Push H_B: Equations to be solved V_new = V_old \partial_t E_1 = 0 -> E_{1,new} = E_{1,old} \partial_t E_2 = - \partial_{x_1} B -> E_{2,new} = E_{2,old}-dt*\partial_{x_1} B \partial_t B = 0 -> B_new = B_old.
[in,out] | self | time propagator object |
[in] | dt | time step |
Definition at line 308 of file sll_m_time_propagator_pic_vm_1d2v_hs_trafo.F90.
|
private |
Push H_E: Equations to be solved \partial_t f + E_1 \partial_{v_1} f + E_2 \partial_{v_2} f = 0 -> V_new = V_old + dt * E \partial_t E_1 = 0 -> E_{1,new} = E_{1,old} \partial_t E_2 = 0 -> E_{2,new} = E_{2,old} \partial_t B + \partial_{x_1} E_2 = 0 => B_new = B_old - dt \partial_{x_1} E_2.
[in,out] | self | time propagator object |
[in] | dt | time step |
Definition at line 263 of file sll_m_time_propagator_pic_vm_1d2v_hs_trafo.F90.
|
private |
Push Hp1: Equations to solve are \partial_t f + v_1 \partial_{x_1} f = 0 -> X_new = X_old + dt V_1 V_new,2 = V_old,2 + \int_0 h V_old,1 B_old \partial_t E_1 = - \int v_1 f(t,x_1, v) dv -> E_{1,new} = E_{1,old} - \int \int v_1 f(t,x_1+s v_1,v) dv ds \partial_t E_2 = 0 -> E_{2,new} = E_{2,old} \partial_t B = 0 => B_new = B_old.
[in,out] | self | time propagator object |
[in] | dt | time step |
Definition at line 165 of file sll_m_time_propagator_pic_vm_1d2v_hs_trafo.F90.
|
private |
Finalization.
Strang splitting
[in,out] | self | time propagator object |
[in] | dt | time step |
[in] | number_steps | number of time steps |
Definition at line 83 of file sll_m_time_propagator_pic_vm_1d2v_hs_trafo.F90.