![]() |
(git:f56c6e3)
|
numerical operations on real-space grid More...
Functions/Subroutines | |
| subroutine, public | derive_fdm_cd3 (f, df, rs_grid) |
| 2nd order finite difference derivative of a function on realspace grid | |
| subroutine, public | derive_fdm_cd5 (f, df, rs_grid) |
| 4th order finite difference derivative of a function on realspace grid | |
| subroutine, public | derive_fdm_cd7 (f, df, rs_grid) |
| 6th order finite difference derivative of a function on realspace grid | |
| subroutine, public | setup_grid_axes (pw_grid, x_glbl, y_glbl, z_glbl, x_locl, y_locl, z_locl) |
| returns the global axes and the portion of the axes that are local to the current mpi rank | |
| subroutine, public | pw_mollifier (pw_pool, zeta, x_glbl, y_glbl, z_glbl, pw_in, pw_out) |
| convolutes a function with a smoothing kernel K_\zeta v * K_\zeta K_\zeta is the standard mollifier defined as: K_\zeta(x) = \frac{1}{\zeta^3} K(\frac{x}{\zeta}) where K(x) = \kappa \exp (\frac{1}{|x|^2 - 1}), if |x| <= 1 = 0, otherwise | |
numerical operations on real-space grid
| subroutine, public rs_methods::derive_fdm_cd3 | ( | type(pw_r3d_rs_type), intent(in) | f, |
| type(pw_r3d_rs_type), dimension(3), intent(inout) | df, | ||
| type(realspace_grid_type), intent(in) | rs_grid | ||
| ) |
2nd order finite difference derivative of a function on realspace grid
| f | input function |
| df | derivative of f |
| rs_grid | real-space grid |
Definition at line 59 of file rs_methods.F.
| subroutine, public rs_methods::derive_fdm_cd5 | ( | type(pw_r3d_rs_type), intent(in) | f, |
| type(pw_r3d_rs_type), dimension(3), intent(inout) | df, | ||
| type(realspace_grid_type), intent(in) | rs_grid | ||
| ) |
4th order finite difference derivative of a function on realspace grid
| f | input function |
| df | derivative of f |
| rs_grid | real-space grid |
Definition at line 128 of file rs_methods.F.
| subroutine, public rs_methods::derive_fdm_cd7 | ( | type(pw_r3d_rs_type), intent(in) | f, |
| type(pw_r3d_rs_type), dimension(3), intent(inout) | df, | ||
| type(realspace_grid_type), intent(in) | rs_grid | ||
| ) |
6th order finite difference derivative of a function on realspace grid
| f | input function |
| df | derivative of f |
| rs_grid | real-space grid |
Definition at line 197 of file rs_methods.F.
| subroutine, public rs_methods::setup_grid_axes | ( | type(pw_grid_type), intent(in) | pw_grid, |
| real(dp), dimension(:), intent(out), allocatable | x_glbl, | ||
| real(dp), dimension(:), intent(out), allocatable | y_glbl, | ||
| real(dp), dimension(:), intent(out), allocatable | z_glbl, | ||
| real(dp), dimension(:), intent(out), allocatable | x_locl, | ||
| real(dp), dimension(:), intent(out), allocatable | y_locl, | ||
| real(dp), dimension(:), intent(out), allocatable | z_locl | ||
| ) |
returns the global axes and the portion of the axes that are local to the current mpi rank
| pw_grid | plane wave grid |
| x_glbl | x grid vector of the simulation box |
| y_glbl | y grid vector of the simulation box |
| z_glbl | z grid vector of the simulation box |
| x_locl | x grid vector of the simulation box local to this process |
| y_locl | y grid vector of the simulation box local to this process |
| z_locl | z grid vector of the simulation box local to this process |
Definition at line 273 of file rs_methods.F.
| subroutine, public rs_methods::pw_mollifier | ( | type(pw_pool_type), intent(in), pointer | pw_pool, |
| real(dp), intent(in) | zeta, | ||
| real(dp), dimension(:), intent(in), allocatable | x_glbl, | ||
| real(dp), dimension(:), intent(in), allocatable | y_glbl, | ||
| real(dp), dimension(:), intent(in), allocatable | z_glbl, | ||
| type(pw_r3d_rs_type), intent(in) | pw_in, | ||
| type(pw_r3d_rs_type), intent(inout) | pw_out | ||
| ) |
convolutes a function with a smoothing kernel K_\zeta v * K_\zeta K_\zeta is the standard mollifier defined as: K_\zeta(x) = \frac{1}{\zeta^3} K(\frac{x}{\zeta}) where K(x) = \kappa \exp (\frac{1}{|x|^2 - 1}), if |x| <= 1 = 0, otherwise
| pw_pool | pool of pw grid |
| zeta | parameter \zeta defining the width of the mollifier |
| x_glbl | x grid vector of the simulation box |
| y_glbl | y grid vector of the simulation box |
| z_glbl | z grid vector of the simulation box |
| pw_in | the input function |
| pw_out | the convoluted function |
Definition at line 365 of file rs_methods.F.