|
Afivo
0.3
|
This module can be used to construct solutions consisting of one or more Gaussians. More...
Functions/Subroutines | |
| subroutine, public | gauss_init (gs, amplitudes, sigmas, locations) |
| Initialize a structure with parameters. More... | |
| real(dp) function, public | gauss_value (gs, r) |
| Return the value of the sum of gaussians at r. More... | |
| subroutine, public | gauss_gradient (gs, r, grad) |
| real(dp) function, public | gauss_laplacian (gs, r) |
| Summed Laplacian of the gaussians in Cartesian coordinates. More... | |
| real(dp) function, public | gauss_laplacian_cyl (gs, r) |
| Summed Laplacian of the gaussians in (r,z) coordinates. More... | |
| real(dp) function, public | gauss_4th (gs, r) |
| Fourth derivative of the gaussians in Cartesian coordinates. More... | |
This module can be used to construct solutions consisting of one or more Gaussians.
| subroutine, public m_gaussians::gauss_init | ( | type(gauss_t), intent(inout) | gs, |
| real(dp), dimension(:), intent(in) | amplitudes, | ||
| real(dp), dimension(:), intent(in) | sigmas, | ||
| real(dp), dimension(:,:), intent(in) | locations | ||
| ) |
Initialize a structure with parameters.
| [in,out] | gs | Type storing the gaussians |
| [in] | amplitudes | Their amplitudes |
| [in] | sigmas | Their widths |
| [in] | locations | Their locations |
Definition at line 31 of file m_gaussians.f90.
| real(dp) function, public m_gaussians::gauss_value | ( | type(gauss_t), intent(in) | gs, |
| real(dp), dimension(gs%n_dim), intent(in) | r | ||
| ) |
Return the value of the sum of gaussians at r.
Definition at line 55 of file m_gaussians.f90.
| subroutine, public m_gaussians::gauss_gradient | ( | type(gauss_t), intent(in) | gs, |
| real(dp), dimension(gs%n_dim), intent(in) | r, | ||
| real(dp), dimension(gs%n_dim), intent(out) | grad | ||
| ) |
Definition at line 77 of file m_gaussians.f90.
| real(dp) function, public m_gaussians::gauss_laplacian | ( | type(gauss_t), intent(in) | gs, |
| real(dp), dimension(gs%n_dim), intent(in) | r | ||
| ) |
Summed Laplacian of the gaussians in Cartesian coordinates.
Definition at line 93 of file m_gaussians.f90.
| real(dp) function, public m_gaussians::gauss_laplacian_cyl | ( | type(gauss_t), intent(in) | gs, |
| real(dp), dimension(gs%n_dim), intent(in) | r | ||
| ) |
Summed Laplacian of the gaussians in (r,z) coordinates.
Definition at line 108 of file m_gaussians.f90.
| real(dp) function, public m_gaussians::gauss_4th | ( | type(gauss_t), intent(in) | gs, |
| real(dp), dimension(gs%n_dim), intent(in) | r | ||
| ) |
Fourth derivative of the gaussians in Cartesian coordinates.
Definition at line 124 of file m_gaussians.f90.
1.8.12