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

Calculate matrix multiplication of two square matrices \(\overline{\text{AB}} = \overline{\text{A}} \ \overline{\text{B}}\). More...

Public Member Functions

integer function calc_mult_0d_real (a, b, ab, n, transp)
 real constant version
integer function calc_mult_3d_real (a, b, ab, n, transp)
 real array version
integer function calc_mult_3d_complex (a, b, ab, n, transp)
 complex array version

Detailed Description

Calculate matrix multiplication of two square matrices \(\overline{\text{AB}} = \overline{\text{A}} \ \overline{\text{B}}\).

This matrix can be defined on a 3-D grid or constant. The storage convention described in eq_vars.eq_2_type is used.

Returns
ierr

Definition at line 95 of file num_utilities.f90.

Member Function/Subroutine Documentation

◆ calc_mult_0d_real()

integer function num_utilities::calc_mult::calc_mult_0d_real ( real(dp), dimension(:), intent(in) a,
real(dp), dimension(:), intent(in) b,
real(dp), dimension(:), intent(inout) ab,
integer, intent(in) n,
logical, dimension(2), intent(in), optional transp )

real constant version

Parameters
[in]ainput A
[in]binput B
[in,out]aboutput A B
[in]nsize of matrix
[in]transpwhether A and/or B transposed

Definition at line 983 of file num_utilities.f90.

◆ calc_mult_3d_complex()

integer function num_utilities::calc_mult::calc_mult_3d_complex ( complex(dp), dimension(:,:,:,:), intent(in) a,
complex(dp), dimension(:,:,:,:), intent(in) b,
complex(dp), dimension(:,:,:,:), intent(inout) ab,
integer, intent(in) n,
logical, dimension(2), intent(in), optional transp )

complex array version

Parameters
[in]ainput A
[in]binput B
[in,out]aboutput A B
[in]nsize of matrix
[in]transpwhether A and/or B transposed

Definition at line 897 of file num_utilities.f90.

Here is the call graph for this function:

◆ calc_mult_3d_real()

integer function num_utilities::calc_mult::calc_mult_3d_real ( real(dp), dimension(:,:,:,:), intent(in) a,
real(dp), dimension(:,:,:,:), intent(in) b,
real(dp), dimension(:,:,:,:), intent(inout) ab,
integer, intent(in) n,
logical, dimension(2), intent(in), optional transp )

real array version

Parameters
[in]ainput A
[in]binput B
[in,out]aboutput A B
[in]nsize of matrix
[in]transpwhether A and/or B transposed

Definition at line 816 of file num_utilities.f90.

Here is the call graph for this function:

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