34 use,
intrinsic :: iso_fortran_env
74 procedure :: delec_dipole_me, zelec_dipole_me
78 procedure :: delec_ks_multipoles_1d_me, zelec_ks_multipoles_1d_me
82 procedure :: delec_ks_multipoles_2d_me, zelec_ks_multipoles_2d_me
86 procedure :: delec_ks_multipoles_3d_me, zelec_ks_multipoles_3d_me
90 procedure :: delec_one_body_me, zelec_one_body_me
94 procedure :: delec_two_body_me, zelec_two_body_me
101 type(grid_t),
intent(in) :: gr
102 type(states_elec_t),
intent(in) :: st
103 type(space_t),
intent(in) :: space
104 type(kpoints_t),
intent(in) :: kpoints
105 real(real64),
intent(out) :: momentum(:,:,:)
120 type(grid_t),
intent(in) :: gr
121 type(states_elec_t),
intent(in) :: st
122 type(space_t),
intent(in) :: space
123 real(real64),
contiguous,
intent(out) :: ll(:, :, :)
124 real(real64),
contiguous,
optional,
intent(out) :: l2(:, :)
138#include "complex.F90"
139#include "elec_matrix_elements_inc.F90"
143#include "elec_matrix_elements_inc.F90"
This module implements batches of mesh functions.
Module implementing boundary conditions in Octopus.
This module calculates the derivatives (gradients, Laplacians, etc.) of a function.
subroutine, public elec_angular_momentum_me(gr, st, space, ll, l2)
subroutine delec_momentum_me(gr, st, space, kpoints, momentum)
The routine calculates the expectation value of the momentum operator.
subroutine, public elec_momentum_me(gr, st, space, kpoints, momentum)
subroutine zelec_momentum_me(gr, st, space, kpoints, momentum)
The routine calculates the expectation value of the momentum operator.
subroutine zelec_angular_momentum_me(gr, st, space, ll, l2)
It calculates the expectation value of the angular momentum of the states. If l2 is passed,...
subroutine delec_angular_momentum_me(gr, st, space, ll, l2)
It calculates the expectation value of the angular momentum of the states. If l2 is passed,...
This module implements the underlying real-space grid.
A module to handle KS potential, without the external potential.
This module defines functions over batches of mesh functions.
This module defines various routines, operating on mesh functions.
This module defines the meshes, which are used in Octopus.
This module contains some common usage patterns of MPI routines.
pure logical function, public states_are_real(st)
This module handles spin dimensions of the states and the k-point distribution.