Octopus
physics_op_oct_m Module Reference

Functions/Subroutines

subroutine, public dphysics_op_l (der, ff, lf, ghost_update, set_bc)
 The action of the angular momentum operator (three spatial components). In case of real functions, it does not include the -i prefactor. More...
 
subroutine, public dphysics_op_l2 (der, ff, l2f, ghost_update, set_bc)
 Square of the angular momentum L. This has to be very much improved if. More...
 
subroutine, public zphysics_op_l (der, ff, lf, ghost_update, set_bc)
 The action of the angular momentum operator (three spatial components). In case of real functions, it does not include the -i prefactor. More...
 
subroutine, public zphysics_op_l2 (der, ff, l2f, ghost_update, set_bc)
 Square of the angular momentum L. This has to be very much improved if. More...
 

Function/Subroutine Documentation

◆ dphysics_op_l()

subroutine, public physics_op_oct_m::dphysics_op_l ( type(derivatives_t), intent(in)  der,
real(real64), dimension(:), intent(inout), contiguous  ff,
real(real64), dimension(:, :), intent(out), contiguous  lf,
logical, intent(in), optional  ghost_update,
logical, intent(in), optional  set_bc 
)

The action of the angular momentum operator (three spatial components). In case of real functions, it does not include the -i prefactor.

(L = -i r ^ nabla).

Parameters
[in,out]ffff(dermeshnp_part)
[out]lflf(dermeshnp, 3) in 3D, lf(dermeshnp, 1) in 2D

Definition at line 205 of file physics_op.F90.

◆ dphysics_op_l2()

subroutine, public physics_op_oct_m::dphysics_op_l2 ( type(derivatives_t), intent(in)  der,
real(real64), dimension(:), intent(inout), contiguous  ff,
real(real64), dimension(:), intent(out), contiguous  l2f,
logical, intent(in), optional  ghost_update,
logical, intent(in), optional  set_bc 
)

Square of the angular momentum L. This has to be very much improved if.

accuracy is needed.

Parameters
[in,out]ffff(1:dermeshnp_part)

Definition at line 260 of file physics_op.F90.

◆ zphysics_op_l()

subroutine, public physics_op_oct_m::zphysics_op_l ( type(derivatives_t), intent(in)  der,
complex(real64), dimension(:), intent(inout), contiguous  ff,
complex(real64), dimension(:, :), intent(out), contiguous  lf,
logical, intent(in), optional  ghost_update,
logical, intent(in), optional  set_bc 
)

The action of the angular momentum operator (three spatial components). In case of real functions, it does not include the -i prefactor.

(L = -i r ^ nabla).

Parameters
[in,out]ffff(dermeshnp_part)
[out]lflf(dermeshnp, 3) in 3D, lf(dermeshnp, 1) in 2D

Definition at line 392 of file physics_op.F90.

◆ zphysics_op_l2()

subroutine, public physics_op_oct_m::zphysics_op_l2 ( type(derivatives_t), intent(in)  der,
complex(real64), dimension(:), intent(inout), contiguous  ff,
complex(real64), dimension(:), intent(out), contiguous  l2f,
logical, intent(in), optional  ghost_update,
logical, intent(in), optional  set_bc 
)

Square of the angular momentum L. This has to be very much improved if.

accuracy is needed.

Parameters
[in,out]ffff(1:dermeshnp_part)

Definition at line 447 of file physics_op.F90.