Semi-Lagrangian Library
Modular library for kinetic and gyrokinetic simulations of plasmas in fusion energy devices.
|
Solve Maxwell's equations in 1D based on a pseudospectral solver.
Derived types and interfaces | |
type | sll_t_maxwell_1d_ps |
Maxwell solver class with pseudospectral method. More... | |
Functions/Subroutines | |
subroutine | sll_s_compute_e_b_1d (self, delta_t, efield_dofs, bfield_dofs) |
subroutine | grad_proj0 (self, in, out) |
subroutine | proj1_grad (self, in, out) |
subroutine | init_1d_ps (self, domain, n_dofs) |
subroutine | set_eig_schur_curl_part (self, delta_t) |
subroutine | free_1d_ps (self) |
real(kind=f64) function | inner_product_1d_ps (self, coefs1_dofs, coefs2_dofs, degree, degree2) |
real(kind=f64) function | l2norm_squared_1d_ps (self, coefs_dofs, degree) |
subroutine | compute_e_from_j_1d_ps (self, current, component, E) |
Compute E_i from j_i integrated over the time interval using weak Ampere formulation More... | |
subroutine | compute_field_from_field_1d_ps (self, delta_t, field_in, field_out) |
subroutine | compute_curl_part_1d_ps (self, delta_t, efield, bfield, betar) |
subroutine | transform_dofs_1d_ps (self, in, out, degree) |
subroutine | compute_e_from_rho_1d_ps (self, field_in, field_out) |
subroutine | compute_rho_from_e_1d_ps (self, field_in, field_out) |
subroutine | complex_product_real (n_dofs, eigvals, in, out) |
subroutine | multiply_mass_1d_ps (self, in, out, degree) |
subroutine | invert_mass_1d_ps (self, in, out, degree) |
subroutine | multiply_g (self, in, out) |
subroutine | multiply_gt (self, in, out) |
subroutine | compute_rhs_from_function (self, func, degree, coefs_dofs) |
Compute the FEM right-hand-side for a given function f and periodic splines of given degree Its components are $\int f N_i dx$ where $N_i$ is the B-spline starting at $x_i$. More... | |
subroutine | l2projection (self, func, degree, coefs_dofs) |
Compute the L2 projection of a given function f on periodic splines of given degree. More... | |
subroutine | compute_phi_from_rho_1d_ps (self, in, phi, efield) |
For model with adiabatic electrons. More... | |
subroutine | compute_phi_from_j_1d_ps (self, in, phi, efield) |
For model with adiabatic electrons. More... | |
|
private |
|
private |
[in] | delta_t | Time step |
[in,out] | efield | Ey |
[in,out] | bfield | Bz |
betar | 1/beta |
Definition at line 327 of file sll_m_maxwell_1d_ps.F90.
|
private |
Compute E_i from j_i integrated over the time interval using weak Ampere formulation
self | Maxwell solver class | |
[in] | current | Component component of the current integrated over time interval |
[in] | component | Component of the Efield to be computed |
[in,out] | e | Updated electric field |
Definition at line 291 of file sll_m_maxwell_1d_ps.F90.
|
private |
|
private |
[in] | delta_t | Time step |
[in] | field_in | Bz |
[in,out] | field_out | Ey |
Definition at line 316 of file sll_m_maxwell_1d_ps.F90.
|
private |
For model with adiabatic electrons.
Definition at line 544 of file sll_m_maxwell_1d_ps.F90.
|
private |
For model with adiabatic electrons.
Definition at line 527 of file sll_m_maxwell_1d_ps.F90.
|
private |
|
private |
Compute the FEM right-hand-side for a given function f and periodic splines of given degree Its components are $\int f N_i dx$ where $N_i$ is the B-spline starting at $x_i$.
Definition at line 492 of file sll_m_maxwell_1d_ps.F90.
|
private |
self | Maxwell solver object |
Definition at line 250 of file sll_m_maxwell_1d_ps.F90.
|
private |
|
private |
[out] | self | solver object |
Definition at line 141 of file sll_m_maxwell_1d_ps.F90.
|
private |
self | Maxwell solver object |
coefs1_dofs | Coefficient for each DoF |
coefs2_dofs | Coefficient for each DoF |
degree | Specify the degree of the basis functions |
degree2 | Specify the degree of the basis functions |
Definition at line 255 of file sll_m_maxwell_1d_ps.F90.
|
private |
Definition at line 460 of file sll_m_maxwell_1d_ps.F90.
|
private |
self | Maxwell solver object |
coefs_dofs | Coefficient for each DoF |
degree | Specify the degree of the basis functions |
Definition at line 279 of file sll_m_maxwell_1d_ps.F90.
|
private |
Compute the L2 projection of a given function f on periodic splines of given degree.
Definition at line 511 of file sll_m_maxwell_1d_ps.F90.
|
private |
[in] | self | Maxwell_Clamped solver object |
[in] | in | Coefficient for each DoF |
[out] | out | Coefficient for each DoF |
Definition at line 470 of file sll_m_maxwell_1d_ps.F90.
|
private |
[in] | self | Maxwell_Clamped solver object |
[in] | in | Coefficient for each DoF |
[out] | out | Coefficient for each DoF |
Definition at line 480 of file sll_m_maxwell_1d_ps.F90.
|
private |
[in,out] | self | Maxwell solver object |
[in] | in | Coefficient for each DoF |
[out] | out | Coefficient for each DoF |
[in] | degree | Specify the degree of the basis functions |
Definition at line 450 of file sll_m_maxwell_1d_ps.F90.
|
private |
|
private |
|
private |
[in] | delta_t | Time step |
[in,out] | efield_dofs | E |
[in,out] | bfield_dofs | B |
Definition at line 106 of file sll_m_maxwell_1d_ps.F90.
|
private |