PB3D  [2.45]
Ideal linear high-n MHD stability in 3-D
Public Member Functions | List of all members
grid_utilities::calc_eqd_grid Interface Reference

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...
 

Detailed Description

Calculate grid of equidistant points, where optionally the last point can be excluded.

Definition at line 75 of file grid_utilities.f90.

Member Function/Subroutine Documentation

◆ calc_eqd_grid_1d()

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

Parameters
[in,out]varoutput
[in]min_gridmin. of angles [ \(\pi\)]
[in]max_gridmax. of angles [ \(\pi\)]
[in]excl_last.true. if last point excluded

Definition at line 605 of file grid_utilities.f90.

◆ calc_eqd_grid_3d()

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

Parameters
[in,out]varoutput
[in]min_gridmin. of angles [ \(\pi\)]
[in]max_gridmax. of angles [ \(\pi\)]
[in]grid_dimin which dimension to create the grid
[in]excl_last.true. if last point excluded

Definition at line 529 of file grid_utilities.f90.


The documentation for this interface was generated from the following file: