PB3D [2.47]
Ideal linear high-n MHD stability in 3-D
Loading...
Searching...
No Matches
num_utilities::order_per_fun Interface Reference

Order a periodic function to include \(0\ldots 2\pi\) and an overlap. More...

Public Member Functions

integer function order_per_fun_1 (x, y, x_out, y_out, overlap, tol)
 version with x and y separate
integer function order_per_fun_2 (xy, xy_out, overlap, tol)
 version with x and y together

Detailed Description

Order a periodic function to include \(0\ldots 2\pi\) and an overlap.

Returns
ierr

Definition at line 248 of file num_utilities.f90.

Member Function/Subroutine Documentation

◆ order_per_fun_1()

integer function num_utilities::order_per_fun::order_per_fun_1 ( real(dp), dimension(:), intent(in) x,
real(dp), dimension(:), intent(in) y,
real(dp), dimension(:), intent(inout), allocatable x_out,
real(dp), dimension(:), intent(inout), allocatable y_out,
integer, intent(in) overlap,
real(dp), intent(in), optional tol )

version with x and y separate

Parameters
[in]xabscissa
[in]yordinate
[in,out]x_outordered x
[in,out]y_outordered y
[in]overlapoverlap to include
[in]toltolerance for error

Definition at line 1573 of file num_utilities.f90.

◆ order_per_fun_2()

integer function num_utilities::order_per_fun::order_per_fun_2 ( real(dp), dimension(:,:), intent(in) xy,
real(dp), dimension(:,:), intent(inout), allocatable xy_out,
integer, intent(in) overlap,
real(dp), intent(in), optional tol )

version with x and y together

Parameters
[in]xyabscissa and ordinate
[in,out]xy_outordered xy
[in]overlapoverlap to include
[in]toltolerance for error

Definition at line 1649 of file num_utilities.f90.


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