Octopus
states_mxll_oct_m Module Reference

Data Types

type  states_mxll_t
 

Functions/Subroutines

subroutine, public states_mxll_init (st, namespace, space)
 
subroutine, public states_mxll_allocate (st, mesh)
 Allocates the Maxwell states defined within a states_mxll_t structure. More...
 
subroutine, public states_mxll_end (st)
 
subroutine, public build_rs_element (e_element, b_element, rs_sign, rs_element, ep_element, mu_element)
 
subroutine, public build_rs_vector (e_vector, b_vector, rs_sign, rs_vector, ep_element, mu_element)
 
subroutine, public build_rs_state (e_field, b_field, rs_sign, rs_state, mesh, ep_field, mu_field, np)
 
subroutine, public build_rs_current_element (current_element, rs_current_element, ep_element)
 
subroutine, public build_rs_current_vector (current_vector, rs_current_vector, ep_element)
 
subroutine, public build_rs_current_state (current_state, mesh, rs_current_state, ep_field, np)
 
subroutine, public get_electric_field_vector (rs_state_vector, electric_field_vector, ep_element)
 
subroutine, public get_magnetic_field_vector (rs_state_vector, rs_sign, magnetic_field_vector, mu_element)
 
subroutine, public get_electric_field_state (rs_state, mesh, electric_field, ep_field, np)
 
subroutine, public get_magnetic_field_state (rs_state, mesh, rs_sign, magnetic_field, mu_field, np)
 
subroutine, public get_current_element (rs_current_element, current_element, ep_element)
 
subroutine, public get_current_vector (rs_current_vector, current_vector, ep_element)
 
subroutine, public get_current_state (rs_current_field, current_field, mesh, ep_field, np)
 
subroutine, public get_rs_state_at_point (rs_state_point, rs_state, pos, st, mesh)
 
subroutine, public get_rs_state_batch_selected_points (rs_state_point, rs_stateb, st, mesh)
 
subroutine, public get_divergence_field (gr, field, field_div, charge_density)
 
subroutine, public get_poynting_vector (mesh, st, rs_state, rs_sign, poynting_vector, ep_field, mu_field)
 
subroutine, public get_poynting_vector_plane_waves (mesh, st, rs_sign, poynting_vector)
 
subroutine, public get_orbital_angular_momentum (mesh, st, poynting_vector, orbital_angular_momentum)
 
subroutine, public mxll_set_batch (rs_stateb, rs_state, np, dim, offset)
 
subroutine, public mxll_get_batch (rs_stateb, rs_state, np, dim, offset)
 
subroutine, public get_transverse_rs_state (helmholtz, st, namespace)
 

Variables

integer, parameter, public transverse_from_helmholtz = 1
 
integer, parameter, public transverse_as_total_minus_long = 2
 

Function/Subroutine Documentation

◆ states_mxll_init()

subroutine, public states_mxll_oct_m::states_mxll_init ( type(states_mxll_t), intent(inout), target  st,
type(namespace_t), intent(in)  namespace,
class(space_t), intent(in)  space 
)

Definition at line 312 of file states_mxll.F90.

◆ states_mxll_allocate()

subroutine, public states_mxll_oct_m::states_mxll_allocate ( type(states_mxll_t), intent(inout)  st,
class(mesh_t), intent(in)  mesh 
)

Allocates the Maxwell states defined within a states_mxll_t structure.

Definition at line 445 of file states_mxll.F90.

◆ states_mxll_end()

subroutine, public states_mxll_oct_m::states_mxll_end ( type(states_mxll_t), intent(inout)  st)

Definition at line 492 of file states_mxll.F90.

◆ build_rs_element()

subroutine, public states_mxll_oct_m::build_rs_element ( real(real64), intent(in)  e_element,
real(real64), intent(in)  b_element,
integer, intent(in)  rs_sign,
complex(real64), intent(inout)  rs_element,
real(real64), intent(in), optional  ep_element,
real(real64), intent(in), optional  mu_element 
)

Definition at line 554 of file states_mxll.F90.

◆ build_rs_vector()

subroutine, public states_mxll_oct_m::build_rs_vector ( real(real64), dimension(:), intent(in)  e_vector,
real(real64), dimension(:), intent(in)  b_vector,
integer, intent(in)  rs_sign,
complex(real64), dimension(:), intent(inout)  rs_vector,
real(real64), intent(in), optional  ep_element,
real(real64), intent(in), optional  mu_element 
)

Definition at line 573 of file states_mxll.F90.

◆ build_rs_state()

subroutine, public states_mxll_oct_m::build_rs_state ( real(real64), dimension(:,:), intent(in)  e_field,
real(real64), dimension(:,:), intent(in)  b_field,
integer, intent(in)  rs_sign,
complex(real64), dimension(:,:), intent(inout)  rs_state,
class(mesh_t), intent(in)  mesh,
real(real64), dimension(:), intent(in), optional  ep_field,
real(real64), dimension(:), intent(in), optional  mu_field,
integer, intent(in), optional  np 
)

Definition at line 592 of file states_mxll.F90.

◆ build_rs_current_element()

subroutine, public states_mxll_oct_m::build_rs_current_element ( real(real64), intent(in)  current_element,
complex(real64), intent(inout)  rs_current_element,
real(real64), intent(in), optional  ep_element 
)

Definition at line 627 of file states_mxll.F90.

◆ build_rs_current_vector()

subroutine, public states_mxll_oct_m::build_rs_current_vector ( real(real64), dimension(:), intent(in)  current_vector,
complex(real64), dimension(:), intent(inout)  rs_current_vector,
real(real64), intent(in), optional  ep_element 
)

Definition at line 644 of file states_mxll.F90.

◆ build_rs_current_state()

subroutine, public states_mxll_oct_m::build_rs_current_state ( real(real64), dimension(:,:), intent(in)  current_state,
class(mesh_t), intent(in)  mesh,
complex(real64), dimension(:,:), intent(inout)  rs_current_state,
real(real64), dimension(:), intent(in), optional  ep_field,
integer, intent(in), optional  np 
)

Definition at line 660 of file states_mxll.F90.

◆ get_electric_field_vector()

subroutine, public states_mxll_oct_m::get_electric_field_vector ( complex(real64), dimension(:), intent(in)  rs_state_vector,
real(real64), dimension(:), intent(out)  electric_field_vector,
real(real64), intent(in), optional  ep_element 
)

Definition at line 696 of file states_mxll.F90.

◆ get_magnetic_field_vector()

subroutine, public states_mxll_oct_m::get_magnetic_field_vector ( complex(real64), dimension(:), intent(in)  rs_state_vector,
integer, intent(in)  rs_sign,
real(real64), dimension(:), intent(out)  magnetic_field_vector,
real(real64), intent(in), optional  mu_element 
)

Definition at line 713 of file states_mxll.F90.

◆ get_electric_field_state()

subroutine, public states_mxll_oct_m::get_electric_field_state ( complex(real64), dimension(:,:), intent(in)  rs_state,
class(mesh_t), intent(in)  mesh,
real(real64), dimension(:,:), intent(out)  electric_field,
real(real64), dimension(:), intent(in), optional  ep_field,
integer, intent(in), optional  np 
)

Definition at line 731 of file states_mxll.F90.

◆ get_magnetic_field_state()

subroutine, public states_mxll_oct_m::get_magnetic_field_state ( complex(real64), dimension(:,:), intent(in)  rs_state,
class(mesh_t), intent(in)  mesh,
integer, intent(in)  rs_sign,
real(real64), dimension(:,:), intent(out)  magnetic_field,
real(real64), dimension(:), intent(in), optional  mu_field,
integer, intent(in), optional  np 
)

Definition at line 762 of file states_mxll.F90.

◆ get_current_element()

subroutine, public states_mxll_oct_m::get_current_element ( complex(real64), intent(in)  rs_current_element,
real(real64), intent(inout)  current_element,
real(real64), intent(in), optional  ep_element 
)

Definition at line 795 of file states_mxll.F90.

◆ get_current_vector()

subroutine, public states_mxll_oct_m::get_current_vector ( complex(real64), dimension(:), intent(in)  rs_current_vector,
real(real64), dimension(:), intent(inout)  current_vector,
real(real64), intent(in), optional  ep_element 
)

Definition at line 812 of file states_mxll.F90.

◆ get_current_state()

subroutine, public states_mxll_oct_m::get_current_state ( complex(real64), dimension(:,:), intent(in)  rs_current_field,
real(real64), dimension(:,:), intent(inout)  current_field,
class(mesh_t), intent(in)  mesh,
real(real64), dimension(:), intent(in), optional  ep_field,
integer, intent(in), optional  np 
)

Definition at line 829 of file states_mxll.F90.

◆ get_rs_state_at_point()

subroutine, public states_mxll_oct_m::get_rs_state_at_point ( complex(real64), dimension(:,:), intent(inout)  rs_state_point,
complex(real64), dimension(:,:), intent(in)  rs_state,
real(real64), dimension(:,:), intent(in)  pos,
type(states_mxll_t), intent(in)  st,
class(mesh_t), intent(in)  mesh 
)

Definition at line 856 of file states_mxll.F90.

◆ get_rs_state_batch_selected_points()

subroutine, public states_mxll_oct_m::get_rs_state_batch_selected_points ( complex(real64), dimension(:,:), intent(inout), contiguous  rs_state_point,
type(batch_t), intent(in)  rs_stateb,
type(states_mxll_t), intent(in)  st,
class(mesh_t), intent(in)  mesh 
)

Definition at line 891 of file states_mxll.F90.

◆ get_divergence_field()

subroutine, public states_mxll_oct_m::get_divergence_field ( type(grid_t), intent(in)  gr,
real(real64), dimension(:,:), intent(inout), contiguous  field,
real(real64), dimension(:), intent(inout), contiguous  field_div,
logical, intent(in)  charge_density 
)

Definition at line 953 of file states_mxll.F90.

◆ get_poynting_vector()

subroutine, public states_mxll_oct_m::get_poynting_vector ( class(mesh_t), intent(in)  mesh,
type(states_mxll_t), intent(in)  st,
complex(real64), dimension(:,:), intent(in)  rs_state,
integer, intent(in)  rs_sign,
real(real64), dimension(:,:), intent(out)  poynting_vector,
real(real64), dimension(:), intent(in), optional  ep_field,
real(real64), dimension(:), intent(in), optional  mu_field 
)

Definition at line 972 of file states_mxll.F90.

◆ get_poynting_vector_plane_waves()

subroutine, public states_mxll_oct_m::get_poynting_vector_plane_waves ( class(mesh_t), intent(in)  mesh,
type(states_mxll_t), intent(in)  st,
integer, intent(in)  rs_sign,
real(real64), dimension(:,:), intent(out)  poynting_vector 
)

Definition at line 1005 of file states_mxll.F90.

◆ get_orbital_angular_momentum()

subroutine, public states_mxll_oct_m::get_orbital_angular_momentum ( type(mesh_t), intent(in)  mesh,
type(states_mxll_t), intent(in)  st,
real(real64), dimension(:,:), intent(in)  poynting_vector,
real(real64), dimension(:,:), intent(out)  orbital_angular_momentum 
)

Definition at line 1026 of file states_mxll.F90.

◆ mxll_set_batch()

subroutine, public states_mxll_oct_m::mxll_set_batch ( type(batch_t), intent(inout)  rs_stateb,
complex(real64), dimension(:, :), intent(in), contiguous  rs_state,
integer, intent(in)  np,
integer, intent(in)  dim,
integer, intent(in), optional  offset 
)

Definition at line 1045 of file states_mxll.F90.

◆ mxll_get_batch()

subroutine, public states_mxll_oct_m::mxll_get_batch ( type(batch_t), intent(in)  rs_stateb,
complex(real64), dimension(:, :), intent(out), contiguous  rs_state,
integer, intent(in)  np,
integer, intent(in)  dim,
integer, intent(in), optional  offset 
)

Definition at line 1066 of file states_mxll.F90.

◆ get_transverse_rs_state()

subroutine, public states_mxll_oct_m::get_transverse_rs_state ( type(helmholtz_decomposition_t), intent(inout)  helmholtz,
type(states_mxll_t), intent(inout)  st,
type(namespace_t), intent(in)  namespace 
)

Definition at line 1087 of file states_mxll.F90.

Variable Documentation

◆ transverse_from_helmholtz

integer, parameter, public states_mxll_oct_m::transverse_from_helmholtz = 1

Definition at line 305 of file states_mxll.F90.

◆ transverse_as_total_minus_long

integer, parameter, public states_mxll_oct_m::transverse_as_total_minus_long = 2

Definition at line 305 of file states_mxll.F90.