PB3D
[2.45]
Ideal linear high-n MHD stability in 3-D
|
Add to an array (3) the product of arrays (1) and (2). More...
Public Member Functions | |
integer function | add_arr_mult_3_3 (arr_1, arr_2, arr_3, deriv) |
version with arr_1 and arr_2 in 3 coords. More... | |
integer function | add_arr_mult_3_1 (arr_1, arr_2, arr_3, deriv) |
version with arr_1 in 3 coords and arr_2 only in the flux coord. More... | |
integer function | add_arr_mult_1_1 (arr_1, arr_2, arr_3, deriv) |
Version with arr_1 and arr_2 only in the flux coord. More... | |
Add to an array (3) the product of arrays (1) and (2).
The derivatives are distributed between both acording to the binomial theorem. Both arrays are given on a 3-D or 1-D grid.
Definition at line 39 of file num_utilities.f90.
integer function num_utilities::add_arr_mult::add_arr_mult_1_1 | ( | real(dp), dimension(1:,0:), intent(in) | arr_1, |
real(dp), dimension(1:,0:), intent(in) | arr_2, | ||
real(dp), dimension(1:), intent(out) | arr_3, | ||
integer, dimension(3), intent(in) | deriv | ||
) |
Version with arr_1
and arr_2
only in the flux coord.
[in] | arr_1 | arr_1 |
[in] | arr_2 | arr_2 |
[out] | arr_3 | arr_3 |
[in] | deriv | derivatives |
Definition at line 492 of file num_utilities.f90.
integer function num_utilities::add_arr_mult::add_arr_mult_3_1 | ( | real(dp), dimension(1:,1:,1:,0:,0:,0:), intent(in) | arr_1, |
real(dp), dimension(1:,0:), intent(in) | arr_2, | ||
real(dp), dimension(1:,1:,1:), intent(out) | arr_3, | ||
integer, dimension(3), intent(in) | deriv | ||
) |
version with arr_1
in 3 coords and arr_2
only in the flux coord.
[in] | arr_1 | arr_1 |
[in] | arr_2 | arr_2 |
[out] | arr_3 | arr_3 |
[in] | deriv | derivatives |
Definition at line 441 of file num_utilities.f90.
integer function num_utilities::add_arr_mult::add_arr_mult_3_3 | ( | real(dp), dimension(1:,1:,1:,0:,0:,0:), intent(in) | arr_1, |
real(dp), dimension(1:,1:,1:,0:,0:,0:), intent(in) | arr_2, | ||
real(dp), dimension(1:,1:,1:), intent(out) | arr_3, | ||
integer, dimension(3), intent(in) | deriv | ||
) |
version with arr_1
and arr_2
in 3 coords.
[in] | arr_1 | arr_1 |
[in] | arr_2 | arr_2 |
[out] | arr_3 | arr_3 |
[in] | deriv | derivatives |
Definition at line 363 of file num_utilities.f90.