33 use,
intrinsic :: iso_fortran_env
73 procedure :: delec_dipole_me, zelec_dipole_me
77 procedure :: delec_ks_multipoles_1d_me, zelec_ks_multipoles_1d_me
81 procedure :: delec_ks_multipoles_2d_me, zelec_ks_multipoles_2d_me
85 procedure :: delec_ks_multipoles_3d_me, zelec_ks_multipoles_3d_me
89 procedure :: delec_one_body_me, zelec_one_body_me
93 procedure :: delec_two_body_me, zelec_two_body_me
100 type(grid_t),
intent(in) :: gr
101 type(states_elec_t),
intent(in) :: st
102 type(space_t),
intent(in) :: space
103 type(kpoints_t),
intent(in) :: kpoints
104 real(real64),
intent(out) :: momentum(:,:,:)
119 type(grid_t),
intent(in) :: gr
120 type(states_elec_t),
intent(in) :: st
121 type(space_t),
intent(in) :: space
122 real(real64),
contiguous,
intent(out) :: ll(:, :, :)
123 real(real64),
contiguous,
optional,
intent(out) :: l2(:, :)
137#include "complex.F90"
138#include "elec_matrix_elements_inc.F90"
142#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.