Report Typos and Errors    
Semi-Lagrangian Library
Modular library for kinetic and gyrokinetic simulations of plasmas in fusion energy devices.
Private Member Functions | Private Attributes | List of all members
sll_t_maxwell_clamped_1d_trafo Type Reference
Inheritance diagram for sll_t_maxwell_clamped_1d_trafo:
Collaboration diagram for sll_t_maxwell_clamped_1d_trafo:

Private Member Functions

procedure compute_e_from_b => sll_s_compute_e_from_b_1d_trafo
 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_trafo
 Solve Faraday equation with E constant in time. More...
 
procedure compute_curl_part => sll_s_compute_curl_part_1d_trafo
 Solve source-free Maxwell's equations. More...
 
procedure compute_e_from_rho => sll_s_compute_e_from_rho_1d_trafo
 Solve E from rho using Poisson. More...
 
procedure compute_rho_from_e => compute_rho_from_e_1d_trafo
 Compute rho from E. More...
 
procedure compute_e_from_j => compute_e_from_j_1d_trafo
 Compute E from the current j. More...
 
procedure compute_phi_from_rho => compute_phi_from_rho_1d_trafo
 Compute phi from rho (by solving the quasi neutrality equation) More...
 
procedure compute_phi_from_j => compute_phi_from_j_1d_trafo
 Compute phi from j (dynamic from of quasineutrality equation for adiabatic electrons) More...
 
procedure compute_rhs_from_function => sll_s_compute_rhs_trafo
 Compute integral over given function tested by the basis. More...
 
procedure l2projection => l2projection_1d_trafo
 Compute L_2 projection of a given function. More...
 
procedure l2norm_squared => l2norm_squared_1d_trafo
 Compute the square of the L2 norm of a given vector. More...
 
procedure inner_product => inner_product_1d_trafo
 Inner product of two dof-vectors with mass matrix. More...
 
procedure init => init_1d_trafo
 Initialize the Maxwell class. More...
 
procedure init_from_file => init_from_file_1d_trafo
 Initialize the Maxwell class with parameters read from nml-file. More...
 
procedure free => free_1d_trafo
 Free Maxwell class. More...
 
procedure multiply_g
 Multiplication with gradient matrix. More...
 
procedure multiply_gt
 Multiplication with divergence matrix. More...
 
procedure multiply_mass => multiply_mass_1d_trafo
 Product with the mass matrix. More...
 
procedure invert_mass => invert_mass_1d_trafo
 Invert mass matrix. More...
 
procedure transform_dofs
 By default this is just a copy of input to output. More...
 

Private Attributes

type(sll_t_spline_pp_1dspline0_pp
 spline for 0-form More...
 
type(sll_t_spline_pp_1dspline1_pp
 spline for 1-from More...
 
type(sll_t_matrix_csrmass0
 spline mass matrix for 0-form More...
 
type(sll_t_matrix_csrmass1
 spline mass matrix for 1-form More...
 
type(sll_t_matrix_csrmixed_mass
 spline mass matrix for mixed 0-1 form More...
 
type(sll_t_linear_solver_cglinear_solver_mass0
 linear solver to invert 0-form mass matrix More...
 
type(sll_t_linear_solver_cglinear_solver_mass1
 linear solver to invert 1-form mass matrix More...
 
type(sll_t_linear_operator_poisson_clamped_1dpoisson_matrix
 Poisson matrix. More...
 
type(sll_t_linear_solver_cgpoisson_solver
 CG solver to invert Poisson matrix. More...
 
type(sll_t_linear_operator_schur_eb_cl_1dlinear_op_schur_eb
 Schur complement operator for advect_eb. More...
 
type(sll_t_linear_solver_mgmreslinear_solver_schur_eb
 Schur complement solver for advect_eb. More...
 
type(sll_t_mapping_3d), pointer map
 coordinate transformation More...
 
logical strong_ampere = .false.
 flag to switch between strong and weak Ampere formulation More...
 

Detailed Description

Definition at line 67 of file sll_m_maxwell_clamped_1d_trafo.F90.

Member Function/Subroutine Documentation

◆ compute_b_from_e()

procedure compute_b_from_e
private

Solve Faraday equation with E constant in time.

Definition at line 90 of file sll_m_maxwell_clamped_1d_trafo.F90.

◆ compute_curl_part()

procedure compute_curl_part
private

Solve source-free Maxwell's equations.

Definition at line 92 of file sll_m_maxwell_clamped_1d_trafo.F90.

◆ compute_e_from_b()

procedure compute_e_from_b
private

Solve E and B part of Amperes law with B constant in time.

Definition at line 88 of file sll_m_maxwell_clamped_1d_trafo.F90.

◆ compute_e_from_j()

procedure compute_e_from_j
private

Compute E from the current j.

Definition at line 98 of file sll_m_maxwell_clamped_1d_trafo.F90.

◆ compute_e_from_rho()

procedure compute_e_from_rho
private

Solve E from rho using Poisson.

Definition at line 94 of file sll_m_maxwell_clamped_1d_trafo.F90.

◆ compute_phi_from_j()

procedure compute_phi_from_j
private

Compute phi from j (dynamic from of quasineutrality equation for adiabatic electrons)

Definition at line 102 of file sll_m_maxwell_clamped_1d_trafo.F90.

◆ compute_phi_from_rho()

procedure compute_phi_from_rho
private

Compute phi from rho (by solving the quasi neutrality equation)

Definition at line 100 of file sll_m_maxwell_clamped_1d_trafo.F90.

◆ compute_rho_from_e()

procedure compute_rho_from_e
private

Compute rho from E.

Definition at line 96 of file sll_m_maxwell_clamped_1d_trafo.F90.

◆ compute_rhs_from_function()

procedure compute_rhs_from_function
private

Compute integral over given function tested by the basis.

Definition at line 104 of file sll_m_maxwell_clamped_1d_trafo.F90.

◆ free()

procedure free
private

Free Maxwell class.

Definition at line 116 of file sll_m_maxwell_clamped_1d_trafo.F90.

◆ init()

procedure init
private

Initialize the Maxwell class.

Definition at line 112 of file sll_m_maxwell_clamped_1d_trafo.F90.

◆ init_from_file()

procedure init_from_file
private

Initialize the Maxwell class with parameters read from nml-file.

Definition at line 114 of file sll_m_maxwell_clamped_1d_trafo.F90.

◆ inner_product()

procedure inner_product
private

Inner product of two dof-vectors with mass matrix.

Definition at line 110 of file sll_m_maxwell_clamped_1d_trafo.F90.

◆ invert_mass()

procedure invert_mass
private

Invert mass matrix.

Definition at line 124 of file sll_m_maxwell_clamped_1d_trafo.F90.

◆ l2norm_squared()

procedure l2norm_squared
private

Compute the square of the L2 norm of a given vector.

Definition at line 108 of file sll_m_maxwell_clamped_1d_trafo.F90.

◆ l2projection()

procedure l2projection
private

Compute L_2 projection of a given function.

Definition at line 106 of file sll_m_maxwell_clamped_1d_trafo.F90.

◆ multiply_g()

procedure multiply_g
private

Multiplication with gradient matrix.

Definition at line 118 of file sll_m_maxwell_clamped_1d_trafo.F90.

◆ multiply_gt()

procedure multiply_gt
private

Multiplication with divergence matrix.

Definition at line 120 of file sll_m_maxwell_clamped_1d_trafo.F90.

◆ multiply_mass()

procedure multiply_mass
private

Product with the mass matrix.

Definition at line 122 of file sll_m_maxwell_clamped_1d_trafo.F90.

◆ transform_dofs()

procedure transform_dofs
privateinherited

By default this is just a copy of input to output.

Definition at line 76 of file sll_m_maxwell_1d_base.F90.

Member Data Documentation

◆ linear_op_schur_eb

type( sll_t_linear_operator_schur_eb_cl_1d ) linear_op_schur_eb
private

Schur complement operator for advect_eb.

Definition at line 82 of file sll_m_maxwell_clamped_1d_trafo.F90.

◆ linear_solver_mass0

type(sll_t_linear_solver_cg) linear_solver_mass0
private

linear solver to invert 0-form mass matrix

Definition at line 77 of file sll_m_maxwell_clamped_1d_trafo.F90.

◆ linear_solver_mass1

type(sll_t_linear_solver_cg) linear_solver_mass1
private

linear solver to invert 1-form mass matrix

Definition at line 78 of file sll_m_maxwell_clamped_1d_trafo.F90.

◆ linear_solver_schur_eb

type( sll_t_linear_solver_mgmres ) linear_solver_schur_eb
private

Schur complement solver for advect_eb.

Definition at line 83 of file sll_m_maxwell_clamped_1d_trafo.F90.

◆ map

type(sll_t_mapping_3d), pointer map
private

coordinate transformation

Definition at line 84 of file sll_m_maxwell_clamped_1d_trafo.F90.

◆ mass0

type(sll_t_matrix_csr) mass0
private

spline mass matrix for 0-form

Definition at line 74 of file sll_m_maxwell_clamped_1d_trafo.F90.

◆ mass1

type(sll_t_matrix_csr) mass1
private

spline mass matrix for 1-form

Definition at line 75 of file sll_m_maxwell_clamped_1d_trafo.F90.

◆ mixed_mass

type(sll_t_matrix_csr) mixed_mass
private

spline mass matrix for mixed 0-1 form

Definition at line 76 of file sll_m_maxwell_clamped_1d_trafo.F90.

◆ poisson_matrix

type(sll_t_linear_operator_poisson_clamped_1d) poisson_matrix
private

Poisson matrix.

Definition at line 80 of file sll_m_maxwell_clamped_1d_trafo.F90.

◆ poisson_solver

type(sll_t_linear_solver_cg) poisson_solver
private

CG solver to invert Poisson matrix.

Definition at line 81 of file sll_m_maxwell_clamped_1d_trafo.F90.

◆ spline0_pp

type(sll_t_spline_pp_1d) spline0_pp
private

spline for 0-form

Definition at line 69 of file sll_m_maxwell_clamped_1d_trafo.F90.

◆ spline1_pp

type(sll_t_spline_pp_1d) spline1_pp
private

spline for 1-from

Definition at line 70 of file sll_m_maxwell_clamped_1d_trafo.F90.

◆ strong_ampere

logical strong_ampere = .false.
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.

    Report Typos and Errors