Octopus
spline_filter_oct_m Module Reference

Functions/Subroutines

subroutine, public spline_filter_ft (spl, threshold, fs, rs)
 The function spline_filter_ft permits to filter out high-values of a given spline function, either in real or in Fourier space. If the optional argument fs is supplied, a filter in Fourier space will be done by moving to the Fourier representation and then calling spline_cut with cutoff = fs(1) and beta = fs(2). If the optional argument rs is supplied, a filter in real space will be done by calling spline_cut with cutoff = rs(1) and beta = rs(2). If both arguments are supplied, the Fourier filter will be applied before. More...
 
subroutine, public spline_filter_bessel (spl, l, qmax, alpha, beta_fs, rcut, beta_rs, threshold)
 
subroutine, public spline_filter_mask_init ()
 
subroutine, public spline_filter_mask (spl, l, rmax, qmax, alpha, gamma, threshold)
 

Variables

integer, parameter mask_n = 201
 
real(real64), dimension(mask_nmask_x
 
real(real64), dimension(mask_nmask_y
 

Function/Subroutine Documentation

◆ spline_filter_ft()

subroutine, public spline_filter_oct_m::spline_filter_ft ( type(spline_t), intent(inout)  spl,
real(real64), intent(in)  threshold,
real(real64), dimension(2), intent(in), optional  fs,
real(real64), dimension(2), intent(in), optional  rs 
)

The function spline_filter_ft permits to filter out high-values of a given spline function, either in real or in Fourier space. If the optional argument fs is supplied, a filter in Fourier space will be done by moving to the Fourier representation and then calling spline_cut with cutoff = fs(1) and beta = fs(2). If the optional argument rs is supplied, a filter in real space will be done by calling spline_cut with cutoff = rs(1) and beta = rs(2). If both arguments are supplied, the Fourier filter will be applied before.

Definition at line 149 of file spline_filter.F90.

◆ spline_filter_bessel()

subroutine, public spline_filter_oct_m::spline_filter_bessel ( type(spline_t), intent(inout)  spl,
integer, intent(in)  l,
real(real64), intent(in)  qmax,
real(real64), intent(in)  alpha,
real(real64), intent(in)  beta_fs,
real(real64), intent(in)  rcut,
real(real64), intent(in)  beta_rs,
real(real64), intent(in)  threshold 
)

Definition at line 176 of file spline_filter.F90.

◆ spline_filter_mask_init()

subroutine, public spline_filter_oct_m::spline_filter_mask_init

Definition at line 198 of file spline_filter.F90.

◆ spline_filter_mask()

subroutine, public spline_filter_oct_m::spline_filter_mask ( type(spline_t), intent(inout)  spl,
integer, intent(in)  l,
real(real64), intent(in)  rmax,
real(real64), intent(in)  qmax,
real(real64), intent(in)  alpha,
real(real64), intent(in)  gamma,
real(real64), intent(in)  threshold 
)

Definition at line 217 of file spline_filter.F90.

Variable Documentation

◆ mask_n

integer, parameter spline_filter_oct_m::mask_n = 201
private

Definition at line 133 of file spline_filter.F90.

◆ mask_x

real(real64), dimension(mask_n) spline_filter_oct_m::mask_x
private

Definition at line 134 of file spline_filter.F90.

◆ mask_y

real(real64), dimension(mask_n) spline_filter_oct_m::mask_y
private

Definition at line 134 of file spline_filter.F90.