Report Typos and Errors    
Semi-Lagrangian Library
Modular library for kinetic and gyrokinetic simulations of plasmas in fusion energy devices.
Data Types | Modules | Functions/Subroutines
sll_m_maxwell_1d_fem.F90 File Reference

Go to the source code of this file.

Data Types

type  sll_t_maxwell_1d_fem
 Maxwell solver class. More...
 

Modules

module  sll_m_maxwell_1d_fem
 Solve Maxwell's equations in 1D.
 

Functions/Subroutines

subroutine sll_s_compute_e_from_b_1d_fem (self, delta_t, field_in, field_out)
 compute Ey from Bz using weak Ampere formulation More...
 
subroutine sll_s_compute_b_from_e_1d_fem (self, delta_t, field_in, field_out)
 
subroutine sll_s_compute_curl_part_1d_fem (self, delta_t, efield, bfield, betar)
 
subroutine weak_curl (self, delta_t, field_in, field_out)
 compute Ey from Bz using weak Ampere formulation More...
 
subroutine strong_curl (self, delta_t, field_in, field_out)
 Compute Bz from Ey using strong 1D Faraday equation for spline coefficients $B_z^{new}(x_j) = B_z^{old}(x_j) - \frac{\Delta t}{\Delta x} (E_y(x_j) - E_y(x_{j-1}) $. More...
 
subroutine sll_s_compute_e_from_rho_1d_fem (self, field_in, field_out)
 
subroutine compute_rho_from_e_1d_fem (self, field_in, field_out)
 Compute rho from Gauss law for given efield. More...
 
subroutine choose_interpolation (self, current, component, E)
 Choose between compute_E_from_j_1d_fem and compute_E_from_j_1d_fem_shape. More...
 
subroutine compute_e_from_j_1d_fem (self, current, component, E)
 Compute E_i from j_i integrated over the time interval using weak Ampere formulation
More...
 
subroutine compute_e_from_j_1d_fem_shape (self, current, component, E)
 
subroutine multiply_interpolation_inverse_transpose (self, in, out)
 
subroutine solve_e_b_1d_fem (self, delta_t, bfield, efield)
 Solves for the efield part in a implicit curl part solve. More...
 
subroutine solve_circulant (self, eigvals, rhs, res)
 
subroutine compute_phi_from_rho_1d_fem (self, in, phi, efield)
 For model with adiabatic electrons. More...
 
subroutine compute_phi_from_j_1d_fem (self, in, phi, efield)
 For model with adiabatic electrons. More...
 
subroutine sll_s_compute_fem_rhs (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...
 
real(kind=f64) function l2norm_squared_1d_fem (self, coefs_dofs, degree)
 Compute square of the L2norm. More...
 
real(kind=f64) function inner_product_1d_fem (self, coefs1_dofs, coefs2_dofs, degree, degree2)
 
subroutine l2projection_1d_fem (self, func, degree, coefs_dofs)
 Compute the L2 projection of a given function f on periodic splines of given degree. More...
 
subroutine init_1d_fem (self, domain, n_dofs, s_deg_0, delta_t, strong_ampere, solver_tolerance, force_sign, adiabatic_electrons)
 
subroutine free_1d_fem (self)
 
subroutine multiply_g (self, in, out)
 
subroutine multiply_gt (self, in, out)
 
subroutine multiply_mass_1d_fem (self, in, out, degree)
 
subroutine invert_mass_1d_fem (self, in, out, degree)
 Invert the mass matrix. More...
 
subroutine transform_dofs_1d_fem (self, in, out, degree)
 Invert the mass matrix. More...
 
    Report Typos and Errors