afivo-streamer 1.1
1D/2D/3D streamer simulations with AMR
|
Module that provides routines for geometric operations and calculations. Methods and types have a prefix GM_, short for 'geometry'. More...
Functions/Subroutines | |
pure subroutine, public | gm_dist_vec_line (r, r0, r1, n_dim, dist_vec, frac) |
Compute distance vector between point and its projection onto a line between r0 and r1. | |
real(dp) function, public | gm_dist_line (r, r0, r1, n_dim) |
real(dp) function, public | gm_density_line (r, r0, r1, n_0, n_1, n_dim, width, falloff_t) |
real(dp) function, public | gm_sigmoid (dist, width) |
real(dp) function, public | gm_gaussian (dist, width) |
real(dp) function, public | gm_smoothstep (dist, width) |
Module that provides routines for geometric operations and calculations. Methods and types have a prefix GM_, short for 'geometry'.
real(dp) function, public m_geometry::gm_density_line | ( | real(dp), dimension(n_dim), intent(in) | r, |
real(dp), dimension(n_dim), intent(in) | r0, | ||
real(dp), dimension(n_dim), intent(in) | r1, | ||
real(dp), intent(in) | n_0, | ||
real(dp), intent(in) | n_1, | ||
integer, intent(in) | n_dim, | ||
real(dp), intent(in) | width, | ||
character(len=*), intent(in) | falloff_t ) |
real(dp) function, public m_geometry::gm_dist_line | ( | real(dp), dimension(n_dim), intent(in) | r, |
real(dp), dimension(n_dim), intent(in) | r0, | ||
real(dp), dimension(n_dim), intent(in) | r1, | ||
integer, intent(in) | n_dim ) |
pure subroutine, public m_geometry::gm_dist_vec_line | ( | real(dp), dimension(n_dim), intent(in) | r, |
real(dp), dimension(n_dim), intent(in) | r0, | ||
real(dp), dimension(n_dim), intent(in) | r1, | ||
integer, intent(in) | n_dim, | ||
real(dp), dimension(n_dim), intent(out) | dist_vec, | ||
real(dp), intent(out) | frac ) |
Compute distance vector between point and its projection onto a line between r0 and r1.
[out] | frac | Fraction [0,1] along line |
Definition at line 23 of file m_geometry.f90.
real(dp) function, public m_geometry::gm_gaussian | ( | real(dp), intent(in) | dist, |
real(dp), intent(in) | width ) |
Definition at line 96 of file m_geometry.f90.
real(dp) function, public m_geometry::gm_sigmoid | ( | real(dp), intent(in) | dist, |
real(dp), intent(in) | width ) |
Definition at line 84 of file m_geometry.f90.
real(dp) function, public m_geometry::gm_smoothstep | ( | real(dp), intent(in) | dist, |
real(dp), intent(in) | width ) |
Definition at line 102 of file m_geometry.f90.