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_c_maxwell_1d_base Type Reference
Inheritance diagram for sll_c_maxwell_1d_base:
Collaboration diagram for sll_c_maxwell_1d_base:

Private Member Functions

procedure(compute_field1_from_field2), deferred compute_e_from_b
 Solve E and B part of Ampere's law with B constant in time. More...
 
procedure(compute_field1_from_field2), deferred compute_b_from_e
 Solve Faraday equation with E constant in time. More...
 
procedure(signature_compute_field_from_field), deferred compute_e_from_rho
 Solve E from rho using Poisson. More...
 
procedure(signature_compute_field_from_field), deferred compute_rho_from_e
 Compute rho from efield by Gauss law. More...
 
procedure(signature_compute_E_from_j_1d), deferred compute_e_from_j
 Solve E from time integrated current (second part of Ampere's law) More...
 
procedure(signature_compute_phi_from_field), deferred compute_phi_from_rho
 Solve E from rho using Poisson. More...
 
procedure(signature_compute_phi_from_field), deferred compute_phi_from_j
 Solve E from rho using Poisson. More...
 
procedure(update_dofs_function), deferred compute_rhs_from_function
 Compute the right-hand-side for a given function f. For Galerkin it is the inner product with the basis functions. For Collocation it is simply a function evaluation at the grid points. More...
 
procedure(update_dofs_function), deferred l2projection
 L2 projection. More...
 
procedure(norm_squared), deferred l2norm_squared
 Square of the L2norm. More...
 
procedure(signature_inner_product), deferred inner_product
 inner product with spline mass matrix More...
 
procedure(empty), deferred free
 destructor More...
 
procedure(signature_mass), deferred multiply_mass
 product with mass matrix More...
 
procedure(signature_mass), deferred invert_mass
 product with inverse mass matrix More...
 
procedure(multiply_derivative), deferred multiply_g
 multiplication with gradient matrix More...
 
procedure(multiply_derivative), deferred multiply_gt
 multiplication with divergence matrix More...
 
procedure compute_curl_part
 Solve source-free Maxwell's equations. More...
 
procedure transform_dofs
 By default this is just a copy of input to output. More...
 

Private Attributes

logical strong_ampere = .false.
 flag to switch between strong and weak Ampere formulation More...
 

Detailed Description

Definition at line 25 of file sll_m_maxwell_1d_base.F90.

Member Function/Subroutine Documentation

◆ compute_b_from_e()

procedure(compute_field1_from_field2), deferred compute_b_from_e
private

Solve Faraday equation with E constant in time.

Definition at line 42 of file sll_m_maxwell_1d_base.F90.

◆ compute_curl_part()

procedure compute_curl_part
private

Solve source-free Maxwell's equations.

Definition at line 74 of file sll_m_maxwell_1d_base.F90.

◆ compute_e_from_b()

procedure(compute_field1_from_field2), deferred compute_e_from_b
private

Solve E and B part of Ampere's law with B constant in time.

Definition at line 40 of file sll_m_maxwell_1d_base.F90.

◆ compute_e_from_j()

procedure(signature_compute_E_from_j_1d), deferred compute_e_from_j
private

Solve E from time integrated current (second part of Ampere's law)

Definition at line 48 of file sll_m_maxwell_1d_base.F90.

◆ compute_e_from_rho()

procedure(signature_compute_field_from_field), deferred compute_e_from_rho
private

Solve E from rho using Poisson.

Definition at line 44 of file sll_m_maxwell_1d_base.F90.

◆ compute_phi_from_j()

procedure(signature_compute_phi_from_field), deferred compute_phi_from_j
private

Solve E from rho using Poisson.

Definition at line 52 of file sll_m_maxwell_1d_base.F90.

◆ compute_phi_from_rho()

procedure(signature_compute_phi_from_field), deferred compute_phi_from_rho
private

Solve E from rho using Poisson.

Definition at line 50 of file sll_m_maxwell_1d_base.F90.

◆ compute_rho_from_e()

procedure(signature_compute_field_from_field), deferred compute_rho_from_e
private

Compute rho from efield by Gauss law.

Definition at line 46 of file sll_m_maxwell_1d_base.F90.

◆ compute_rhs_from_function()

procedure(update_dofs_function), deferred compute_rhs_from_function
private

Compute the right-hand-side for a given function f. For Galerkin it is the inner product with the basis functions. For Collocation it is simply a function evaluation at the grid points.

Definition at line 56 of file sll_m_maxwell_1d_base.F90.

◆ free()

procedure(empty), deferred free
private

destructor

Definition at line 64 of file sll_m_maxwell_1d_base.F90.

◆ inner_product()

procedure(signature_inner_product), deferred inner_product
private

inner product with spline mass matrix

Definition at line 62 of file sll_m_maxwell_1d_base.F90.

◆ invert_mass()

procedure(signature_mass), deferred invert_mass
private

product with inverse mass matrix

Definition at line 68 of file sll_m_maxwell_1d_base.F90.

◆ l2norm_squared()

procedure(norm_squared), deferred l2norm_squared
private

Square of the L2norm.

Definition at line 60 of file sll_m_maxwell_1d_base.F90.

◆ l2projection()

procedure(update_dofs_function), deferred l2projection
private

L2 projection.

Definition at line 58 of file sll_m_maxwell_1d_base.F90.

◆ multiply_g()

procedure(multiply_derivative), deferred multiply_g
private

multiplication with gradient matrix

Definition at line 70 of file sll_m_maxwell_1d_base.F90.

◆ multiply_gt()

procedure(multiply_derivative), deferred multiply_gt
private

multiplication with divergence matrix

Definition at line 72 of file sll_m_maxwell_1d_base.F90.

◆ multiply_mass()

procedure(signature_mass), deferred multiply_mass
private

product with mass matrix

Definition at line 66 of file sll_m_maxwell_1d_base.F90.

◆ transform_dofs()

procedure transform_dofs
private

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

◆ strong_ampere

logical strong_ampere = .false.
private

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