PB3D  [2.45]
Ideal linear high-n MHD stability in 3-D
Public Member Functions | List of all members
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 More...
 
integer function calc_mult_3d_real (A, B, AB, n, transp)
 real array version More...
 
integer function calc_mult_3d_complex (A, B, AB, n, transp)
 complex array version More...
 

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 984 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 898 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 817 of file num_utilities.f90.

+ Here is the call graph for this function:

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