|
PB3D [2.47]
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 | |
| 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 | |
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 983 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 897 of file num_utilities.f90.
| 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 816 of file num_utilities.f90.