Octopus
poisson.F90 File Reference

Go to the source code of this file.

Modules

module  poisson_oct_m
 

Data Types

type  poisson_oct_m::poisson_t
 

Functions/Subroutines

subroutine, public poisson_oct_m::poisson_init (this, namespace, space, der, mc, stencil, qtot, label, solver, verbose, force_serial, force_cmplx)
 
subroutine, public poisson_oct_m::poisson_end (this)
 
subroutine poisson_oct_m::zpoisson_solve_real_and_imag_separately (this, namespace, pot, rho, all_nodes, kernel)
 
subroutine, public poisson_oct_m::zpoisson_solve (this, namespace, pot, rho, all_nodes, kernel)
 
subroutine, public poisson_oct_m::poisson_solve_batch (this, namespace, potb, rhob, all_nodes, kernel)
 
subroutine, public poisson_oct_m::dpoisson_solve (this, namespace, pot, rho, all_nodes, kernel)
 Calculates the Poisson equation. Given the density returns the corresponding potential. More...
 
subroutine, public poisson_oct_m::poisson_init_sm (this, namespace, space, main, der, sm, method, force_cmplx)
 
subroutine, public poisson_oct_m::poisson_test (this, space, mesh, latt, namespace, repetitions)
 This routine checks the Hartree solver selected in the input file by calculating numerically and analytically the Hartree potential originated by a Gaussian distribution of charge. For periodic systems, the periodic copies of the Gaussian are taken into account up to to a certain threshold that can be specified in the input file. More...
 
logical pure function, public poisson_oct_m::poisson_solver_is_iterative (this)
 
logical pure function, public poisson_oct_m::poisson_is_multigrid (this)
 
logical pure function, public poisson_oct_m::poisson_solver_has_free_bc (this)
 
integer pure function, public poisson_oct_m::poisson_get_solver (this)
 
subroutine, public poisson_oct_m::poisson_async_init (this, mc)
 
subroutine, public poisson_oct_m::poisson_async_end (this, mc)
 
subroutine, public poisson_oct_m::poisson_slave_work (this, namespace)
 
logical pure function, public poisson_oct_m::poisson_is_async (this)
 
subroutine, public poisson_oct_m::poisson_build_kernel (this, namespace, space, coulb, qq, alpha, beta, mu, singul)
 
real(real64) function, public poisson_oct_m::poisson_get_full_range_weight (this, alpha, beta, mu)
 Most Poisson solvers do not implement Coulomb attenuated potentials, and can only be used for global hybrids like PBE0. For these ones, this routine returns the weight of the full-range hybrids. More...
 
subroutine poisson_oct_m::poisson_kernel_init (this, namespace, space, mc, stencil)
 
subroutine poisson_oct_m::poisson_solve_direct (this, namespace, pot, rho)
 
subroutine poisson_oct_m::dpoisson_solve_direct_sm (this, namespace, sm, pot, rho)
 
subroutine poisson_oct_m::zpoisson_solve_direct_sm (this, namespace, sm, pot, rho)
 
subroutine, public poisson_oct_m::dpoisson_solve_start (this, rho)
 
subroutine, public poisson_oct_m::dpoisson_solve_finish (this, pot)
 
subroutine, public poisson_oct_m::dpoisson_solve_sm (this, namespace, sm, pot, rho, all_nodes)
 Calculates the Poisson equation. Given the density returns the corresponding potential. More...
 
subroutine, public poisson_oct_m::zpoisson_solve_start (this, rho)
 
subroutine, public poisson_oct_m::zpoisson_solve_finish (this, pot)
 
subroutine, public poisson_oct_m::zpoisson_solve_sm (this, namespace, sm, pot, rho, all_nodes)
 Calculates the Poisson equation. Given the density returns the corresponding potential. More...
 

Variables

integer, parameter, public poisson_oct_m::poisson_direct_sum = -1
 
integer, parameter, public poisson_oct_m::poisson_fft = 0
 
integer, parameter, public poisson_oct_m::poisson_cg = 5
 
integer, parameter, public poisson_oct_m::poisson_cg_corrected = 6
 
integer, parameter, public poisson_oct_m::poisson_multigrid = 7
 
integer, parameter, public poisson_oct_m::poisson_isf = 8
 
integer, parameter, public poisson_oct_m::poisson_psolver = 10
 
integer, parameter, public poisson_oct_m::poisson_no = -99
 
integer, parameter, public poisson_oct_m::poisson_null = -999
 
integer, parameter poisson_oct_m::cmd_finish = 1
 
integer, parameter poisson_oct_m::cmd_poisson_solve = 2