Octopus
chebyshev_filter_bounds.F90 File Reference

Go to the source code of this file.

Modules

module  chebyshev_filter_bounds_oct_m
 

Data Types

interface  chebyshev_filter_bounds_oct_m::chebyshev_filter_bounds_t
 Overload default constructor. More...
 

Functions/Subroutines

class(chebyshev_filter_bounds_t) function, pointer chebyshev_filter_bounds_oct_m::constructor (lower, upper, a_l, safe_zero)
 Create an instance of chebyshev_filter_bounds_t. More...
 
subroutine chebyshev_filter_bounds_oct_m::finalize (this)
 Finalizer. More...
 
pure real(real64) function chebyshev_filter_bounds_oct_m::center (this)
 Center of the filter interval. More...
 
pure real(real64) function chebyshev_filter_bounds_oct_m::half_width (this)
 Half-width of the filter interval. More...
 
real(real64) function chebyshev_filter_bounds_oct_m::sigma (this)
 Sigma scaling function, arising from application of the 3-term recurrence relationship of the Chebyshev polynomial. More...
 
subroutine chebyshev_filter_bounds_oct_m::dlanczos_tridiagonal (namespace, mesh, hm, ik, vs, n_iterations, e_max, e_min)
 Compute a tridiagonal matrix with Lanczos. More...
 
real(real64) function s_dotp (ff, vv)
 Real part of the S inner product <ff|S|vv>. Without generalized overlap this is the plain dot product, so that the norm-conserving arithmetic is unchanged. More...
 
real(real64) function s_norm (ff)
 S norm sqrt(<ff|S|ff>), clamped at zero for an ill-conditioned discretized S. Without generalized overlap this is the plain 2-norm. More...
 
real(real64) function, public chebyshev_filter_bounds_oct_m::dupper_bound_estimator (namespace, mesh, hm, ik, n_iterations, trial_state)
 Estimate the upper bound of sigma(H_k) by k-step Lanczos. More...
 
subroutine, public chebyshev_filter_bounds_oct_m::dfilter_bounds_estimator (namespace, mesh, hm, ik, n_iterations, beta_mixing, search_vector, bounds)
 Estimate the lower and upper bounds of filter interval to discard. More...
 
subroutine chebyshev_filter_bounds_oct_m::zlanczos_tridiagonal (namespace, mesh, hm, ik, vs, n_iterations, e_max, e_min)
 Compute a tridiagonal matrix with Lanczos. More...
 
real(real64) function s_dotp (ff, vv)
 Real part of the S inner product <ff|S|vv>. Without generalized overlap this is the plain dot product, so that the norm-conserving arithmetic is unchanged. More...
 
real(real64) function s_norm (ff)
 S norm sqrt(<ff|S|ff>), clamped at zero for an ill-conditioned discretized S. Without generalized overlap this is the plain 2-norm. More...
 
real(real64) function, public chebyshev_filter_bounds_oct_m::zupper_bound_estimator (namespace, mesh, hm, ik, n_iterations, trial_state)
 Estimate the upper bound of sigma(H_k) by k-step Lanczos. More...
 
subroutine, public chebyshev_filter_bounds_oct_m::zfilter_bounds_estimator (namespace, mesh, hm, ik, n_iterations, beta_mixing, search_vector, bounds)
 Estimate the lower and upper bounds of filter interval to discard. More...
 

Function/Subroutine Documentation

◆ s_dotp() [1/2]

real(real64) function dlanczos_tridiagonal::s_dotp ( real(real64), dimension(:, :), intent(in), contiguous  ff,
real(real64), dimension(:, :), intent(inout), contiguous  vv 
)
private

Real part of the S inner product <ff|S|vv>. Without generalized overlap this is the plain dot product, so that the norm-conserving arithmetic is unchanged.

Definition at line 448 of file chebyshev_filter_bounds.F90.

◆ s_norm() [1/2]

real(real64) function dlanczos_tridiagonal::s_norm ( real(real64), dimension(:, :), intent(inout), contiguous  ff)
private

S norm sqrt(<ff|S|ff>), clamped at zero for an ill-conditioned discretized S. Without generalized overlap this is the plain 2-norm.

Definition at line 462 of file chebyshev_filter_bounds.F90.

◆ s_dotp() [2/2]

real(real64) function zlanczos_tridiagonal::s_dotp ( complex(real64), dimension(:, :), intent(in), contiguous  ff,
complex(real64), dimension(:, :), intent(inout), contiguous  vv 
)
private

Real part of the S inner product <ff|S|vv>. Without generalized overlap this is the plain dot product, so that the norm-conserving arithmetic is unchanged.

Definition at line 819 of file chebyshev_filter_bounds.F90.

◆ s_norm() [2/2]

real(real64) function zlanczos_tridiagonal::s_norm ( complex(real64), dimension(:, :), intent(inout), contiguous  ff)
private

S norm sqrt(<ff|S|ff>), clamped at zero for an ill-conditioned discretized S. Without generalized overlap this is the plain 2-norm.

Definition at line 833 of file chebyshev_filter_bounds.F90.