PB3D
[2.45]
Ideal linear high-n MHD stability in 3-D
|
Calculate grid of equidistant points, where optionally the last point can be excluded. More...
Public Member Functions | |
integer function | calc_eqd_grid_1d (var, min_grid, max_grid, excl_last) |
1-D version More... | |
integer function | calc_eqd_grid_3d (var, min_grid, max_grid, grid_dim, excl_last) |
3-D version More... | |
Calculate grid of equidistant points, where optionally the last point can be excluded.
Definition at line 75 of file grid_utilities.f90.
integer function grid_utilities::calc_eqd_grid::calc_eqd_grid_1d | ( | real(dp), dimension(:), intent(inout) | var, |
real(dp), intent(in) | min_grid, | ||
real(dp), intent(in) | max_grid, | ||
logical, intent(in), optional | excl_last | ||
) |
1-D version
[in,out] | var | output |
[in] | min_grid | min. of angles [ \(\pi\)] |
[in] | max_grid | max. of angles [ \(\pi\)] |
[in] | excl_last | .true. if last point excluded |
Definition at line 605 of file grid_utilities.f90.
integer function grid_utilities::calc_eqd_grid::calc_eqd_grid_3d | ( | real(dp), dimension(:,:,:), intent(inout) | var, |
real(dp), intent(in) | min_grid, | ||
real(dp), intent(in) | max_grid, | ||
integer, intent(in) | grid_dim, | ||
logical, intent(in), optional | excl_last | ||
) |
3-D version
[in,out] | var | output |
[in] | min_grid | min. of angles [ \(\pi\)] |
[in] | max_grid | max. of angles [ \(\pi\)] |
[in] | grid_dim | in which dimension to create the grid |
[in] | excl_last | .true. if last point excluded |
Definition at line 529 of file grid_utilities.f90.