|
PB3D
[2.45]
Ideal linear high-n MHD stability in 3-D
|
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... | |
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.
Definition at line 95 of file num_utilities.f90.
| 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
| [in] | a | input A |
| [in] | b | input B |
| [in,out] | ab | output A B |
| [in] | n | size of matrix |
| [in] | transp | whether A and/or B transposed |
Definition at line 984 of file num_utilities.f90.
| 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
| [in] | a | input A |
| [in] | b | input B |
| [in,out] | ab | output A B |
| [in] | n | size of matrix |
| [in] | transp | whether A and/or B transposed |
Definition at line 898 of file num_utilities.f90.
Here is the call graph for this function:| 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
| [in] | a | input A |
| [in] | b | input B |
| [in,out] | ab | output A B |
| [in] | n | size of matrix |
| [in] | transp | whether A and/or B transposed |
Definition at line 817 of file num_utilities.f90.
Here is the call graph for this function: