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

Go to the source code of this file.

Data Types

type  sll_t_maxwell_clamped_3d_fem
 

Modules

module  sll_m_maxwell_clamped_3d_fem
 Module interface to solve Maxwell's equations in 3D The linear systems are solved using PLAF.
 

Functions/Subroutines

subroutine sll_s_compute_e_from_b_3d_fem (self, delta_t, field_in, field_out)
 compute E from B using weak Ampere formulation More...
 
subroutine sll_s_compute_b_from_e_3d_fem (self, delta_t, field_in, field_out)
 Compute B from E using strong 3D Faraday equation for spline coefficients. More...
 
subroutine sll_s_compute_curl_part_3d_fem (self, delta_t, efield, bfield, betar)
 Solve curl part of Maxwell's equations. More...
 
subroutine sll_s_compute_e_from_rho_3d_fem (self, field_in, field_out)
 compute e from rho using weak Poisson's equation ( rho = G^T M_1 G \phi, e = G \phi ) More...
 
subroutine sll_s_compute_rho_from_e_3d_fem (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 (self, current, E, component)
 Compute E_i from j_i integrated over the time interval using weak Ampere formulation, delta_t is already included. More...
 
subroutine sll_s_compute_phi_from_rho_3d_fem (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 (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 (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 (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 (self, coefs, form, component)
 Compute square of the L2norm. More...
 
real(kind=f64) function inner_product_3d_fem (self, coefs1, coefs2, form, component)
 Compute inner product. More...
 
subroutine init_3d_fem (self, domain, n_cells, s_deg_0, boundary, mass_tolerance, poisson_tolerance, solver_tolerance, adiabatic_electrons, profile)
 Initialization. More...
 
real(kind=f64) function profile_m0 (x, component)
 
real(kind=f64) function profile_0 (x, component)
 
real(kind=f64) function profile_mix (x)
 
subroutine init_from_file_3d_fem (self, domain, n_cells, s_deg_0, boundary, nml_file, adiabatic_electrons, profile)
 Initialization from nml file. More...
 
subroutine free_3d_fem (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 (self, deg, coefs_in, coefs_out)
 Multiply by the mass matrix. More...
 
subroutine multiply_mass_3dkron (self, deg, coefs_in, coefs_out)
 Multiply by the mass matrix. More...
 
subroutine multiply_mass_inverse_3d_fem (self, form, coefs_in, coefs_out)
 Multiply by the inverse mass matrix. More...
 
subroutine compute_field_energy (self, efield_dofs, bfield_dofs, energy)
 Compute field energy. More...
 

Function/Subroutine Documentation

◆ profile_0()

real(kind=f64) function init_3d_fem::profile_0 ( real(kind=f64), dimension(3), intent(in)  x,
integer(kind=i32), dimension(:), intent(in), optional  component 
)
private

Definition at line 982 of file sll_m_maxwell_clamped_3d_fem.F90.

Here is the call graph for this function:

◆ profile_m0()

real(kind=f64) function init_3d_fem::profile_m0 ( real(kind=f64), dimension(3), intent(in)  x,
integer(kind=i32), dimension(:), intent(in), optional  component 
)
private

Definition at line 973 of file sll_m_maxwell_clamped_3d_fem.F90.

Here is the call graph for this function:

◆ profile_mix()

real(kind=f64) function init_3d_fem::profile_mix ( real(kind=f64), intent(in)  x)
private

Definition at line 991 of file sll_m_maxwell_clamped_3d_fem.F90.

Here is the caller graph for this function:
    Report Typos and Errors