Octopus
maxwell_boundary_op_oct_m Module Reference

Data Types

type  bc_mxll_t
 
type  pml_t
 

Functions/Subroutines

subroutine, public bc_mxll_init (bc, namespace, space, gr, st)
 
subroutine, public bc_mxll_end (bc)
 
subroutine pml_end (pml)
 
subroutine bc_mxll_medium_init (gr, namespace, bounds, idim, ep_factor, mu_factor, sigma_e_factor, sigma_m_factor)
 
subroutine bc_mxll_ab_bounds_init (bc, gr, namespace, ab_bounds, idim)
 
subroutine bc_mxll_pml_init (bc, gr, namespace, ab_bounds, idim)
 
subroutine bc_mxll_write_info (bc, mesh, namespace, space)
 
subroutine maxwell_mask_points_mapping (bc, mesh, bounds)
 
subroutine maxwell_pml_points_mapping (bc, mesh, bounds)
 
subroutine maxwell_constant_points_mapping (bc, mesh, bounds)
 
subroutine maxwell_plane_waves_points_mapping (bc, mesh, bounds)
 
subroutine maxwell_zero_points_mapping (bc, mesh, bounds)
 
subroutine maxwell_medium_points_mapping (bc, mesh, bounds)
 
subroutine bc_mxll_generate_pml (bc, space)
 
subroutine, public bc_mxll_generate_pml_parameters (bc, space, gr, c_factor, dt)
 
subroutine, public bc_mxll_initialize_pml_simple (bc, space, gr, c_factor, dt)
 
subroutine bc_mxll_generate_mask (bc, mesh, bounds)
 
subroutine bc_mxll_generate_medium (bc, space, gr, bounds, ep_factor, mu_factor, sigma_e_factor, sigma_m_factor)
 
subroutine maxwell_surfaces_init (mesh, st, bounds)
 
subroutine maxwell_box_point_info (bc, mesh, ip, bounds, point_info)
 
subroutine maxwell_boundary_point_info (mesh, ip, bounds, boundary_info)
 
subroutine, public inner_and_outer_points_mapping (mesh, st, bounds, periodic_dim)
 Inner points (inside bounds(1, :)) and boundary points of the Maxwell grid. Periodic axes have no boundary region: all their points are inner points, including the plane at the lower face of the cell (the periodic grid is not symmetric about the origin). More...
 
subroutine, public surface_grid_points_mapping (mesh, st, bounds)
 

Variables

integer, parameter, public mxll_bc_zero = 0
 
integer, parameter, public mxll_bc_constant = 1
 
integer, parameter, public mxll_bc_mirror_pec = 2
 
integer, parameter, public mxll_bc_mirror_pmc = 3
 
integer, parameter, public mxll_bc_plane_waves = 4
 
integer, parameter, public mxll_bc_medium = 6
 
integer, parameter mxll_plane_waves_negative_side = -1
 
integer, parameter mxll_plane_waves_positive_side = 1
 
integer, parameter, public mxll_ab_not_absorbing = 0
 
integer, parameter, public mxll_ab_mask = 1
 
integer, parameter, public mxll_ab_cpml = 2
 
integer, parameter, public mxll_ab_mask_zero = 7
 

Function/Subroutine Documentation

◆ bc_mxll_init()

subroutine, public maxwell_boundary_op_oct_m::bc_mxll_init ( type(bc_mxll_t), intent(inout)  bc,
type(namespace_t), intent(in)  namespace,
class(space_t), intent(in)  space,
type(grid_t), intent(in)  gr,
type(states_mxll_t), intent(inout)  st 
)

Definition at line 216 of file maxwell_boundary_op.F90.

◆ bc_mxll_end()

subroutine, public maxwell_boundary_op_oct_m::bc_mxll_end ( type(bc_mxll_t), intent(inout)  bc)

Definition at line 588 of file maxwell_boundary_op.F90.

◆ pml_end()

subroutine maxwell_boundary_op_oct_m::pml_end ( type(pml_t), intent(inout)  pml)
private

Definition at line 622 of file maxwell_boundary_op.F90.

◆ bc_mxll_medium_init()

subroutine maxwell_boundary_op_oct_m::bc_mxll_medium_init ( type(grid_t), intent(in)  gr,
type(namespace_t), intent(in)  namespace,
real(real64), dimension(:,:), intent(inout), contiguous  bounds,
integer, intent(in)  idim,
real(real64), intent(out)  ep_factor,
real(real64), intent(out)  mu_factor,
real(real64), intent(out)  sigma_e_factor,
real(real64), intent(out)  sigma_m_factor 
)
private

Definition at line 659 of file maxwell_boundary_op.F90.

◆ bc_mxll_ab_bounds_init()

subroutine maxwell_boundary_op_oct_m::bc_mxll_ab_bounds_init ( type(bc_mxll_t), intent(inout)  bc,
type(grid_t), intent(in)  gr,
type(namespace_t), intent(in)  namespace,
real(real64), dimension(:,:), intent(inout), contiguous  ab_bounds,
integer, intent(in)  idim 
)
private

Definition at line 729 of file maxwell_boundary_op.F90.

◆ bc_mxll_pml_init()

subroutine maxwell_boundary_op_oct_m::bc_mxll_pml_init ( type(bc_mxll_t), intent(inout)  bc,
type(grid_t), intent(in)  gr,
type(namespace_t), intent(in)  namespace,
real(real64), dimension(:,:), intent(inout), contiguous  ab_bounds,
integer, intent(in)  idim 
)
private

Definition at line 764 of file maxwell_boundary_op.F90.

◆ bc_mxll_write_info()

subroutine maxwell_boundary_op_oct_m::bc_mxll_write_info ( type(bc_mxll_t), intent(in)  bc,
class(mesh_t), intent(in)  mesh,
type(namespace_t), intent(in)  namespace,
class(space_t), intent(in)  space 
)
private

Definition at line 799 of file maxwell_boundary_op.F90.

◆ maxwell_mask_points_mapping()

subroutine maxwell_boundary_op_oct_m::maxwell_mask_points_mapping ( type(bc_mxll_t), intent(inout)  bc,
class(mesh_t), intent(in)  mesh,
real(real64), dimension(:,:), intent(in), contiguous  bounds 
)
private

Definition at line 964 of file maxwell_boundary_op.F90.

◆ maxwell_pml_points_mapping()

subroutine maxwell_boundary_op_oct_m::maxwell_pml_points_mapping ( type(bc_mxll_t), intent(inout)  bc,
class(mesh_t), intent(in)  mesh,
real(real64), dimension(:,:), intent(in), contiguous  bounds 
)
private

Definition at line 1011 of file maxwell_boundary_op.F90.

◆ maxwell_constant_points_mapping()

subroutine maxwell_boundary_op_oct_m::maxwell_constant_points_mapping ( type(bc_mxll_t), intent(inout)  bc,
class(mesh_t), intent(in)  mesh,
real(real64), dimension(:,:), intent(in), contiguous  bounds 
)
private

Definition at line 1050 of file maxwell_boundary_op.F90.

◆ maxwell_plane_waves_points_mapping()

subroutine maxwell_boundary_op_oct_m::maxwell_plane_waves_points_mapping ( type(bc_mxll_t), intent(inout)  bc,
class(mesh_t), intent(in)  mesh,
real(real64), dimension(:,:), intent(in), contiguous  bounds 
)
private

Definition at line 1094 of file maxwell_boundary_op.F90.

◆ maxwell_zero_points_mapping()

subroutine maxwell_boundary_op_oct_m::maxwell_zero_points_mapping ( type(bc_mxll_t), intent(inout)  bc,
class(mesh_t), intent(in)  mesh,
real(real64), dimension(:,:), intent(in), contiguous  bounds 
)
private

Definition at line 1139 of file maxwell_boundary_op.F90.

◆ maxwell_medium_points_mapping()

subroutine maxwell_boundary_op_oct_m::maxwell_medium_points_mapping ( type(bc_mxll_t), intent(inout)  bc,
class(mesh_t), intent(in)  mesh,
real(real64), dimension(:,:), intent(in), contiguous  bounds 
)
private

Definition at line 1188 of file maxwell_boundary_op.F90.

◆ bc_mxll_generate_pml()

subroutine maxwell_boundary_op_oct_m::bc_mxll_generate_pml ( type(bc_mxll_t), intent(inout)  bc,
class(space_t), intent(in)  space 
)
private

Definition at line 1255 of file maxwell_boundary_op.F90.

◆ bc_mxll_generate_pml_parameters()

subroutine, public maxwell_boundary_op_oct_m::bc_mxll_generate_pml_parameters ( type(bc_mxll_t), intent(inout)  bc,
class(space_t), intent(in)  space,
type(grid_t), intent(in)  gr,
real(real64), intent(in)  c_factor,
real(real64), intent(in), optional  dt 
)

Definition at line 1317 of file maxwell_boundary_op.F90.

◆ bc_mxll_initialize_pml_simple()

subroutine, public maxwell_boundary_op_oct_m::bc_mxll_initialize_pml_simple ( type(bc_mxll_t), intent(inout)  bc,
class(space_t), intent(in)  space,
type(grid_t), intent(in)  gr,
real(real64), intent(in)  c_factor,
real(real64), intent(in)  dt 
)

Definition at line 1431 of file maxwell_boundary_op.F90.

◆ bc_mxll_generate_mask()

subroutine maxwell_boundary_op_oct_m::bc_mxll_generate_mask ( type(bc_mxll_t), intent(inout)  bc,
class(mesh_t), intent(in)  mesh,
real(real64), dimension(:,:), intent(in), contiguous  bounds 
)
private

Definition at line 1476 of file maxwell_boundary_op.F90.

◆ bc_mxll_generate_medium()

subroutine maxwell_boundary_op_oct_m::bc_mxll_generate_medium ( type(bc_mxll_t), intent(inout)  bc,
class(space_t), intent(in)  space,
type(grid_t), intent(in)  gr,
real(real64), dimension(:,:), intent(in), contiguous  bounds,
real(real64), intent(in)  ep_factor,
real(real64), intent(in)  mu_factor,
real(real64), intent(in)  sigma_e_factor,
real(real64), intent(in)  sigma_m_factor 
)
private

Definition at line 1529 of file maxwell_boundary_op.F90.

◆ maxwell_surfaces_init()

subroutine maxwell_boundary_op_oct_m::maxwell_surfaces_init ( class(mesh_t), intent(in)  mesh,
type(states_mxll_t), intent(inout)  st,
real(real64), dimension(:,:), intent(in), contiguous  bounds 
)
private

Definition at line 1643 of file maxwell_boundary_op.F90.

◆ maxwell_box_point_info()

subroutine maxwell_boundary_op_oct_m::maxwell_box_point_info ( type(bc_mxll_t), intent(inout)  bc,
class(mesh_t), intent(in)  mesh,
integer, intent(in)  ip,
real(real64), dimension(:,:), intent(in), contiguous  bounds,
integer, intent(out)  point_info 
)
private

Definition at line 1749 of file maxwell_boundary_op.F90.

◆ maxwell_boundary_point_info()

subroutine maxwell_boundary_op_oct_m::maxwell_boundary_point_info ( class(mesh_t), intent(in)  mesh,
integer, intent(in)  ip,
real(real64), dimension(:,:), intent(in), contiguous  bounds,
integer, intent(out)  boundary_info 
)
private

Definition at line 1806 of file maxwell_boundary_op.F90.

◆ inner_and_outer_points_mapping()

subroutine, public maxwell_boundary_op_oct_m::inner_and_outer_points_mapping ( class(mesh_t), intent(in)  mesh,
type(states_mxll_t), intent(inout)  st,
real(real64), dimension(:,:), intent(in), contiguous  bounds,
integer, intent(in)  periodic_dim 
)

Inner points (inside bounds(1, :)) and boundary points of the Maxwell grid. Periodic axes have no boundary region: all their points are inner points, including the plane at the lower face of the cell (the periodic grid is not symmetric about the origin).

Definition at line 1832 of file maxwell_boundary_op.F90.

◆ surface_grid_points_mapping()

subroutine, public maxwell_boundary_op_oct_m::surface_grid_points_mapping ( class(mesh_t), intent(in)  mesh,
type(states_mxll_t), intent(inout)  st,
real(real64), dimension(:,:), intent(in), contiguous  bounds 
)

Definition at line 1914 of file maxwell_boundary_op.F90.

Variable Documentation

◆ mxll_bc_zero

integer, parameter, public maxwell_boundary_op_oct_m::mxll_bc_zero = 0

Definition at line 195 of file maxwell_boundary_op.F90.

◆ mxll_bc_constant

integer, parameter, public maxwell_boundary_op_oct_m::mxll_bc_constant = 1

Definition at line 195 of file maxwell_boundary_op.F90.

◆ mxll_bc_mirror_pec

integer, parameter, public maxwell_boundary_op_oct_m::mxll_bc_mirror_pec = 2

Definition at line 195 of file maxwell_boundary_op.F90.

◆ mxll_bc_mirror_pmc

integer, parameter, public maxwell_boundary_op_oct_m::mxll_bc_mirror_pmc = 3

Definition at line 195 of file maxwell_boundary_op.F90.

◆ mxll_bc_plane_waves

integer, parameter, public maxwell_boundary_op_oct_m::mxll_bc_plane_waves = 4

Definition at line 195 of file maxwell_boundary_op.F90.

◆ mxll_bc_medium

integer, parameter, public maxwell_boundary_op_oct_m::mxll_bc_medium = 6

Definition at line 195 of file maxwell_boundary_op.F90.

◆ mxll_plane_waves_negative_side

integer, parameter maxwell_boundary_op_oct_m::mxll_plane_waves_negative_side = -1
private

Definition at line 203 of file maxwell_boundary_op.F90.

◆ mxll_plane_waves_positive_side

integer, parameter maxwell_boundary_op_oct_m::mxll_plane_waves_positive_side = 1
private

Definition at line 203 of file maxwell_boundary_op.F90.

◆ mxll_ab_not_absorbing

integer, parameter, public maxwell_boundary_op_oct_m::mxll_ab_not_absorbing = 0

Definition at line 207 of file maxwell_boundary_op.F90.

◆ mxll_ab_mask

integer, parameter, public maxwell_boundary_op_oct_m::mxll_ab_mask = 1

Definition at line 207 of file maxwell_boundary_op.F90.

◆ mxll_ab_cpml

integer, parameter, public maxwell_boundary_op_oct_m::mxll_ab_cpml = 2

Definition at line 207 of file maxwell_boundary_op.F90.

◆ mxll_ab_mask_zero

integer, parameter, public maxwell_boundary_op_oct_m::mxll_ab_mask_zero = 7

Definition at line 207 of file maxwell_boundary_op.F90.