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_3d_fem_fft.F90 File Reference

Go to the source code of this file.

Data Types

type  sll_t_maxwell_3d_fem_fft
 

Modules

module  sll_m_maxwell_3d_fem_fft
 Module interface to solve Maxwell's equations in 3D The linear systems are solved based on FFT diagnoalization.
 

Functions/Subroutines

subroutine sll_s_compute_e_from_b_3d_fem_fft (self, delta_t, field_in, field_out)
 compute Ey from Bz using weak Ampere formulation More...
 
subroutine sll_s_compute_b_from_e_3d_fem_fft (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_curl_part_3d_fem_fft (self, delta_t, efield, bfield, betar)
 Solve curl part of Maxwell's equations. More...
 
subroutine sll_s_compute_e_from_rho_3d_fem_fft (self, field_in, field_out)
 Compute E_i from rho_i integrated over the time interval using weak Poisson's equation. More...
 
subroutine sll_s_compute_rho_from_e_3d_fem_fft (self, field_in, field_out)
 compute rho from e using weak Gauss law ( rho = G^T M_1 e ) More...
 
subroutine sll_s_compute_e_from_j_3d_fem_fft (self, current, E, component)
 Compute E_i from j_i integrated over the time interval using weak Ampere formulation. More...
 
subroutine sll_s_compute_phi_from_rho_3d_fem_fft (self, field_in, field_out, efield_dofs)
 Compute phi from rho_i integrated over the time interval. More...
 
subroutine sll_s_compute_phi_from_j_3d_fem_fft (self, field_in, field_out, efield_dofs)
 Compute phi from j_i integrated over the time interval, delta_t is already included. More...
 
subroutine sll_s_compute_rhs_fem_fft (self, form, component, coefs_dofs, func1, func2, func3)
 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_3d_fem_fft (self, form, component, coefs_dofs, func1, func2, func3)
 Compute the L2 projection of a given function f on periodic splines of given degree. More...
 
real(kind=f64) function l2norm_squared_3d_fem_fft (self, coefs, form, component)
 Compute square of the L2norm. More...
 
real(kind=f64) function inner_product_3d_fem_fft (self, coefs1, coefs2, form, component)
 Compute inner product. More...
 
subroutine init_3d_fem_fft (self, domain, n_dofs, s_deg_0, adiabatic_electrons, profile)
 Initialization. More...
 
subroutine free_3d_fem_fft (self)
 Finalization. More...
 
subroutine multiply_g (self, field_in, field_out)
 Multiply by dicrete gradient matrix. More...
 
subroutine multiply_gt (self, field_in, field_out)
 Multiply by transpose of dicrete gradient matrix. More...
 
subroutine multiply_c (self, field_in, field_out)
 Multiply by discrete curl matrix. More...
 
subroutine multiply_ct (self, field_in, field_out)
 Multiply by transpose of discrete curl matrix. More...
 
subroutine multiply_mass_3d_fem_fft (self, deg, coefs_in, coefs_out)
 Multiply by the mass matrix. More...
 
subroutine multiply_mass_1form (self, coefs_in, coefs_out)
 Helper function for multiply_mass. More...
 
subroutine multiply_mass_2form (self, coefs_in, coefs_out)
 Helper function for multiply_mass. More...
 
subroutine multiply_mass_3dkron (self, mass_line_1, mass_line_2, mass_line_3, coefs_in, coefs_out)
 Multiply by the mass matrix. More...
 
subroutine multiply_mass_all (self, deg, coefs_in, coefs_out)
 Multiply by the mass matrix. More...
 
subroutine multiply_mass_inverse_all (self, form, coefs_in, coefs_out)
 Multiply by the inverse mass matrix. More...
 
    Report Typos and Errors