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

Either takes the complex conjugate of a square matrix element A, defined on a 3-D grid, or not. More...

Public Member Functions

complex(dp) function, dimension(d(1), d(2), d(3)) con_3d (A, c, sym, d)
 3-D version More...
 
complex(dp) function, dimension(d(1), d(2)) con_2d (A, c, sym, d)
 2-D version More...
 
complex(dp) function, dimension(d(1)) con_1d (A, c, sym, d)
 1-D version More...
 
complex(dp) function con_0d (A, c, sym)
 0-D version More...
 

Detailed Description

Either takes the complex conjugate of a square matrix element A, defined on a 3-D grid, or not.

This is done depending on whether the indices of the matrix element correspond to the upper (conjugate) or lower (no conjugate) triangular part.

Note
Only for symmetric matrices does this have to be applied.

Definition at line 221 of file num_utilities.f90.

Member Function/Subroutine Documentation

◆ con_0d()

complex(dp) function num_utilities::con::con_0d ( complex(dp), intent(in)  A,
integer, dimension(2), intent(in)  c,
logical, intent(in)  sym 
)

0-D version

Parameters
[in]ainput A
[in]cindices in square matrix
[in]symif A is symmetric
Returns
output B

Definition at line 1490 of file num_utilities.f90.

+ Here is the call graph for this function:

◆ con_1d()

complex(dp) function, dimension(d(1)) num_utilities::con::con_1d ( complex(dp), dimension(:), intent(in)  A,
integer, dimension(2), intent(in)  c,
logical, intent(in)  sym,
integer, dimension(1), intent(in)  d 
)

1-D version

Parameters
[in]ainput A
[in]cindices in square matrix
[in]symif A is symmetric
[in]ddimensions of matrix A
Returns
output B

Definition at line 1475 of file num_utilities.f90.

+ Here is the call graph for this function:

◆ con_2d()

complex(dp) function, dimension(d(1),d(2)) num_utilities::con::con_2d ( complex(dp), dimension(:,:), intent(in)  A,
integer, dimension(2), intent(in)  c,
logical, intent(in)  sym,
integer, dimension(2), intent(in)  d 
)

2-D version

Parameters
[in]ainput A
[in]cindices in square matrix
[in]symif A is symmetric
[in]ddimensions of matrix A
Returns
output B

Definition at line 1460 of file num_utilities.f90.

+ Here is the call graph for this function:

◆ con_3d()

complex(dp) function, dimension(d(1),d(2),d(3)) num_utilities::con::con_3d ( complex(dp), dimension(:,:,:), intent(in)  A,
integer, dimension(2), intent(in)  c,
logical, intent(in)  sym,
integer, dimension(3), intent(in)  d 
)

3-D version

Parameters
[in]ainput A
[in]cindices in square matrix
[in]symif A is symmetric
[in]ddimensions of matrix A
Returns
output B

Definition at line 1445 of file num_utilities.f90.

+ Here is the call graph for this function:

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