PB3D [2.47]
Ideal linear high-n MHD stability in 3-D
Loading...
Searching...
No Matches
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
complex(dp) function, dimension(d(1), d(2)) con_2d (a, c, sym, d)
 2-D version
complex(dp) function, dimension(d(1)) con_1d (a, c, sym, d)
 1-D version
complex(dp) function con_0d (a, c, sym)
 0-D version

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 1489 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 1474 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 1459 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 1444 of file num_utilities.f90.

Here is the call graph for this function:

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