Semi-Lagrangian Library
Modular library for kinetic and gyrokinetic simulations of plasmas in fusion energy devices.
|
Maxwell solver class. More...
Private Member Functions | |
procedure | compute_e_from_b => sll_s_compute_e_from_b_1d_fem |
Solve E and B part of Amperes law with B constant in time. More... | |
procedure | compute_b_from_e => sll_s_compute_b_from_e_1d_fem |
Solve Faraday equation with E constant in time. More... | |
procedure | compute_curl_part => sll_s_compute_curl_part_1d_fem |
Solve source-free Maxwell's equations. More... | |
procedure | compute_e_from_rho => sll_s_compute_e_from_rho_1d_fem |
Solve E from rho using Poisson. More... | |
procedure | compute_rho_from_e => compute_rho_from_e_1d_fem |
Compute rho from E. More... | |
procedure | compute_e_from_j => choose_interpolation |
choose compute_E_from_j_1d_fem or compute_E_from_j_1d_fem_shape More... | |
procedure | compute_phi_from_rho => compute_phi_from_rho_1d_fem |
Compute phi from rho (by solving the quasi-neutrality equation) More... | |
procedure | compute_phi_from_j => compute_phi_from_j_1d_fem |
Compute phi from j (dynamic of quasi-neutrality equation for adiabatic electrons) More... | |
procedure | compute_rhs_from_function => sll_s_compute_fem_rhs |
Compute integral over given function tested by the basis. More... | |
procedure | l2projection => l2projection_1d_fem |
Compute L_2 projection of a given function. More... | |
procedure | l2norm_squared => l2norm_squared_1d_fem |
Compute the square of the L2 norm of a given vector. More... | |
procedure | inner_product => inner_product_1d_fem |
Inner product of two dof-vectors with mass matrix. More... | |
procedure | init => init_1d_fem |
Initialize the Maxwell class. More... | |
procedure | free => free_1d_fem |
Free Maxwell class. More... | |
procedure | multiply_g |
Multiplication with gradient matrix. More... | |
procedure | multiply_gt |
Multiplication with divergence matrix. More... | |
procedure | invert_mass => invert_mass_1d_fem |
Invert mass matrix. More... | |
procedure | multiply_mass => multiply_mass_1d_fem |
Product with the mass matrix. More... | |
procedure | transform_dofs => transform_dofs_1d_fem |
procedure | multiply_interpolation_inverse_transpose |
procedure | solve_e_b => solve_e_b_1d_fem |
Private Attributes | |
type(sll_t_linear_operator_schur_eb_1d) | linear_op_schur_eb |
Schur complement operator for advect_eb. More... | |
type(sll_t_linear_solver_mgmres) | linear_solver_schur_eb |
Schur complement solver for advect_eb. More... | |
type(sll_t_matrix_csr) | mass0 |
0-form mass matrix More... | |
type(sll_t_matrix_csr) | mass1 |
1-form mass matrix More... | |
type(sll_t_matrix_csr) | mixed_mass |
mixed mass matrix More... | |
type(sll_t_fft) | plan_fw |
fft plan (forward) More... | |
type(sll_t_fft) | plan_bw |
fft plan (backward) More... | |
logical | adiabatic_electrons |
Set true if solver with adiabatic electrions. More... | |
logical | strong_ampere = .false. |
flag to switch between strong and weak Ampere formulation More... | |
Maxwell solver class.
Definition at line 67 of file sll_m_maxwell_1d_fem.F90.
|
private |
Solve Faraday equation with E constant in time.
Definition at line 106 of file sll_m_maxwell_1d_fem.F90.
|
private |
Solve source-free Maxwell's equations.
Definition at line 108 of file sll_m_maxwell_1d_fem.F90.
|
private |
Solve E and B part of Amperes law with B constant in time.
Definition at line 104 of file sll_m_maxwell_1d_fem.F90.
|
private |
choose compute_E_from_j_1d_fem or compute_E_from_j_1d_fem_shape
Definition at line 114 of file sll_m_maxwell_1d_fem.F90.
|
private |
Solve E from rho using Poisson.
Definition at line 110 of file sll_m_maxwell_1d_fem.F90.
|
private |
Compute phi from j (dynamic of quasi-neutrality equation for adiabatic electrons)
Definition at line 118 of file sll_m_maxwell_1d_fem.F90.
|
private |
Compute phi from rho (by solving the quasi-neutrality equation)
Definition at line 116 of file sll_m_maxwell_1d_fem.F90.
|
private |
Compute rho from E.
Definition at line 112 of file sll_m_maxwell_1d_fem.F90.
|
private |
Compute integral over given function tested by the basis.
Definition at line 120 of file sll_m_maxwell_1d_fem.F90.
|
private |
Free Maxwell class.
Definition at line 130 of file sll_m_maxwell_1d_fem.F90.
|
private |
Initialize the Maxwell class.
Definition at line 128 of file sll_m_maxwell_1d_fem.F90.
|
private |
Inner product of two dof-vectors with mass matrix.
Definition at line 126 of file sll_m_maxwell_1d_fem.F90.
|
private |
Invert mass matrix.
Definition at line 136 of file sll_m_maxwell_1d_fem.F90.
|
private |
Compute the square of the L2 norm of a given vector.
Definition at line 124 of file sll_m_maxwell_1d_fem.F90.
|
private |
Compute L_2 projection of a given function.
Definition at line 122 of file sll_m_maxwell_1d_fem.F90.
|
private |
Multiplication with gradient matrix.
Definition at line 132 of file sll_m_maxwell_1d_fem.F90.
|
private |
Multiplication with divergence matrix.
Definition at line 134 of file sll_m_maxwell_1d_fem.F90.
|
private |
Definition at line 142 of file sll_m_maxwell_1d_fem.F90.
|
private |
Product with the mass matrix.
Definition at line 138 of file sll_m_maxwell_1d_fem.F90.
|
private |
Definition at line 144 of file sll_m_maxwell_1d_fem.F90.
|
private |
Definition at line 140 of file sll_m_maxwell_1d_fem.F90.
|
private |
Set true if solver with adiabatic electrions.
Definition at line 100 of file sll_m_maxwell_1d_fem.F90.
|
private |
Schur complement operator for advect_eb.
Definition at line 69 of file sll_m_maxwell_1d_fem.F90.
|
private |
Schur complement solver for advect_eb.
Definition at line 70 of file sll_m_maxwell_1d_fem.F90.
|
private |
0-form mass matrix
Definition at line 72 of file sll_m_maxwell_1d_fem.F90.
|
private |
1-form mass matrix
Definition at line 73 of file sll_m_maxwell_1d_fem.F90.
|
private |
mixed mass matrix
Definition at line 74 of file sll_m_maxwell_1d_fem.F90.
|
private |
fft plan (backward)
Definition at line 95 of file sll_m_maxwell_1d_fem.F90.
|
private |
fft plan (forward)
Definition at line 94 of file sll_m_maxwell_1d_fem.F90.
|
privateinherited |
flag to switch between strong and weak Ampere formulation
tolerance for the field solver
Definition at line 35 of file sll_m_maxwell_1d_base.F90.