Semi-Lagrangian Library
Modular library for kinetic and gyrokinetic simulations of plasmas in fusion energy devices.
|
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... | |
|
private |
Compute cell normals.
Definition at line 540 of file sll_m_maxwell_2d_diga.F90.
|
private |
Definition at line 502 of file sll_m_maxwell_2d_diga.F90.
|
private |
Definition at line 520 of file sll_m_maxwell_2d_diga.F90.
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 | ||
) |
Definition at line 115 of file sll_m_maxwell_2d_diga.F90.
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.
self | solver data object | |
tau | transformation | |
polarization | TE or TM | |
degree | degree of DG method | |
[in] | bc_east | Boundary condition |
[in] | bc_west | Boundary condition |
[in] | bc_north | Boundary condition |
[in] | bc_south | Boundary condition |
flux_type | centered or not |
Definition at line 151 of file sll_m_maxwell_2d_diga.F90.
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.
self | Maxwell solver object |
fx | x electric field |
fy | y electric field |
fz | z magnetic field |
dx | x size step |
dy | y size step |
dz | z size step |
Definition at line 310 of file sll_m_maxwell_2d_diga.F90.
|
private |
Flux parameter.
Definition at line 109 of file sll_m_maxwell_2d_diga.F90.
integer(kind=i32), parameter, public sll_p_uncentered = 21 |
Flux parameter.
Definition at line 111 of file sll_m_maxwell_2d_diga.F90.