Report Typos and Errors    
Semi-Lagrangian Library
Modular library for kinetic and gyrokinetic simulations of plasmas in fusion energy devices.
Derived types and interfaces | Functions/Subroutines | Variables
sll_m_maxwell_2d_diga Module Reference

Description

DG for Maxwell.

Solve Maxwell equations on cartesian domain with Discontinuous Galerkine method:

Derived types and interfaces

type  edge_type
 Local type with edge properties. More...
 
type  cell_type
 Information about a mesh cell. More...
 
type  sll_t_maxwell_2d_diga
 DG method in 2D with general coordinates. More...
 

Functions/Subroutines

type(sll_t_maxwell_2d_diga) function, pointer, public sll_f_new_maxwell_2d_diga (tau, degree, polarization, bc_south, bc_east, bc_north, bc_west, flux_type)
 
subroutine, public sll_s_maxwell_2d_diga_init (self, tau, degree, polarization, bc_south, bc_east, bc_north, bc_west, flux_type)
 Initialize Maxwell solver object using DG method. More...
 
subroutine, public sll_s_solve_maxwell_2d_diga (self, fx, fy, fz, dx, dy, dz)
 Solve the maxwell equation. More...
 
function dof_local (edge, dof, degree)
 
function dof_neighbor (edge, dof, degree)
 
subroutine compute_normals (tau, bc_south, bc_east, bc_north, bc_west, i, j, d, cell)
 Compute cell normals. More...
 

Variables

integer(kind=i32), parameter sll_centered = 20
 Flux parameter. More...
 
integer(kind=i32), parameter, public sll_p_uncentered = 21
 Flux parameter. More...
 

Function/Subroutine Documentation

◆ compute_normals()

subroutine sll_m_maxwell_2d_diga::compute_normals ( pointer  tau,
  bc_south,
  bc_east,
  bc_north,
  bc_west,
  i,
  j,
  d,
type(cell_type cell 
)
private

Compute cell normals.

Definition at line 540 of file sll_m_maxwell_2d_diga.F90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ dof_local()

function sll_m_maxwell_2d_diga::dof_local (   edge,
  dof,
  degree 
)
private

Definition at line 502 of file sll_m_maxwell_2d_diga.F90.

Here is the caller graph for this function:

◆ dof_neighbor()

function sll_m_maxwell_2d_diga::dof_neighbor (   edge,
  dof,
  degree 
)
private

Definition at line 520 of file sll_m_maxwell_2d_diga.F90.

Here is the caller graph for this function:

◆ sll_f_new_maxwell_2d_diga()

type(sll_t_maxwell_2d_diga) function, pointer, public sll_m_maxwell_2d_diga::sll_f_new_maxwell_2d_diga ( class(sll_coordinate_transformation_2d_base), pointer  tau,
integer(kind=i32)  degree,
integer(kind=i32)  polarization,
integer(kind=i32), intent(in)  bc_south,
integer(kind=i32), intent(in)  bc_east,
integer(kind=i32), intent(in)  bc_north,
integer(kind=i32), intent(in)  bc_west,
integer(kind=i32), optional  flux_type 
)
Returns
solver data object

Definition at line 115 of file sll_m_maxwell_2d_diga.F90.

Here is the call graph for this function:

◆ sll_s_maxwell_2d_diga_init()

subroutine, public sll_m_maxwell_2d_diga::sll_s_maxwell_2d_diga_init ( class(sll_t_maxwell_2d_diga self,
class(sll_coordinate_transformation_2d_base), pointer  tau,
integer(kind=i32)  degree,
integer(kind=i32)  polarization,
integer(kind=i32), intent(in)  bc_south,
integer(kind=i32), intent(in)  bc_east,
integer(kind=i32), intent(in)  bc_north,
integer(kind=i32), intent(in)  bc_west,
integer(kind=i32), optional  flux_type 
)

Initialize Maxwell solver object using DG method.

Parameters
selfsolver data object
tautransformation
polarizationTE or TM
degreedegree of DG method
[in]bc_eastBoundary condition
[in]bc_westBoundary condition
[in]bc_northBoundary condition
[in]bc_southBoundary condition
flux_typecentered or not

Definition at line 151 of file sll_m_maxwell_2d_diga.F90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ sll_s_solve_maxwell_2d_diga()

subroutine, public sll_m_maxwell_2d_diga::sll_s_solve_maxwell_2d_diga ( class(sll_t_maxwell_2d_diga self,
type(sll_t_dg_field_2d fx,
type(sll_t_dg_field_2d fy,
type(sll_t_dg_field_2d fz,
type(sll_t_dg_field_2d dx,
type(sll_t_dg_field_2d dy,
type(sll_t_dg_field_2d dz 
)

Solve the maxwell equation.

Parameters
selfMaxwell solver object
fxx electric field
fyy electric field
fzz magnetic field
dxx size step
dyy size step
dzz size step

Definition at line 310 of file sll_m_maxwell_2d_diga.F90.

Here is the call graph for this function:

Variable Documentation

◆ sll_centered

integer(kind=i32), parameter sll_centered = 20
private

Flux parameter.

Definition at line 109 of file sll_m_maxwell_2d_diga.F90.

◆ sll_p_uncentered

integer(kind=i32), parameter, public sll_p_uncentered = 21

Flux parameter.

Definition at line 111 of file sll_m_maxwell_2d_diga.F90.

    Report Typos and Errors