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

Go to the source code of this file.

Data Types

type  sll_t_maxwell_clamped_1d_trafo
 

Modules

module  sll_m_maxwell_clamped_1d_trafo
 Solve Maxwell's equations in curvilinear coordinates with boundary conditions in 1D based on spline FEM, version based on sparse matrices.
 

Functions/Subroutines

subroutine sll_s_compute_e_from_b_1d_trafo (self, delta_t, field_in, field_out)
 compute Ey from Bz using weak Ampere formulation More...
 
subroutine sll_s_compute_b_from_e_1d_trafo (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_1d_trafo (self, delta_t, efield, bfield, betar)
 Solve curl part of Maxwell's equations. More...
 
subroutine sll_s_compute_e_from_rho_1d_trafo (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 compute_rho_from_e_1d_trafo (self, field_in, field_out)
 Compute rho from Gauss law for given efield. More...
 
subroutine compute_e_from_j_1d_trafo (self, current, component, E)
 Compute E_i from j_i integrated over the time interval using weak Ampere formulation. More...
 
subroutine compute_phi_from_rho_1d_trafo (self, in, phi, efield)
 For model with adiabatic electrons. More...
 
subroutine compute_phi_from_j_1d_trafo (self, in, phi, efield)
 For model with adiabatic electrons. More...
 
subroutine sll_s_compute_rhs_trafo (self, func, degree, coefs_dofs)
 Compute the FEM right-hand-side for a given function f and clamped 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_1d_trafo (self, func, degree, coefs_dofs)
 Compute the L2 projection of a given function f on periodic splines of given degree. More...
 
real(kind=f64) function l2norm_squared_1d_trafo (self, coefs_dofs, degree)
 Compute square of the L2norm. More...
 
real(kind=f64) function inner_product_1d_trafo (self, coefs1_dofs, coefs2_dofs, degree, degree2)
 Compute inner product. More...
 
subroutine init_1d_trafo (self, domain, n_cells, s_deg_0, boundary, map, mass_tolerance, poisson_tolerance, solver_tolerance)
 Initialization. More...
 
real(kind=f64) function profile_0 (x)
 
real(kind=f64) function profile_1 (x)
 
real(kind=f64) function profile_m0 (x)
 
subroutine init_from_file_1d_trafo (self, domain, n_cells, s_deg_0, boundary, map, nml_file)
 Initialization from nml file. More...
 
subroutine free_1d_trafo (self)
 Finalization. More...
 
subroutine multiply_g (self, in, out)
 Multiply by dicrete gradient matrix. More...
 
subroutine multiply_gt (self, in, out)
 Multiply by transpose of dicrete gradient matrix. More...
 
subroutine multiply_mass_1d_trafo (self, in, out, degree)
 Multiply by the mass matrix. More...
 
subroutine invert_mass_1d_trafo (self, in, out, degree)
 Multiply by the inverse mass matrix. More...
 
subroutine compute_field_energy (self, efield_dofs1, efield_dofs2, bfield_dofs, energy)
 Compute field energy. More...
 

Function/Subroutine Documentation

◆ profile_0()

real(kind=f64) function init_1d_trafo::profile_0 ( real(kind=f64), intent(in)  x)
private

Definition at line 594 of file sll_m_maxwell_clamped_1d_trafo.F90.

Here is the call graph for this function:

◆ profile_1()

real(kind=f64) function init_1d_trafo::profile_1 ( real(kind=f64), intent(in)  x)
private

Definition at line 602 of file sll_m_maxwell_clamped_1d_trafo.F90.

Here is the call graph for this function:

◆ profile_m0()

real(kind=f64) function init_1d_trafo::profile_m0 ( real(kind=f64), intent(in)  x)
private

Definition at line 610 of file sll_m_maxwell_clamped_1d_trafo.F90.

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