Neko 1.99.1
A portable framework for high-order spectral element flow simulations
|
Functions/Subroutines | |
subroutine, public | matrix_rzero (a, n) |
Zero a real matrix \( a = 0 \). | |
subroutine, public | matrix_rone (a, n) |
Set all elements to one. | |
subroutine, public | matrix_copy (a, b, n) |
Copy a matrix \( a = b \). | |
subroutine, public | matrix_cmult (a, c, n) |
Multiplication by constant c \( a = c \cdot a \). | |
subroutine, public | matrix_cadd (a, s, n) |
Add a scalar to matrix \( a_i = a_i + s \). | |
subroutine, public | matrix_cfill (a, c, n) |
Set all elements to a constant c \( a = c \). | |
subroutine, public | matrix_invcol1 (a, n) |
Invert elements of a matrix \( a_i = 1 / a_i \). | |
subroutine, public | matrix_invcol3 (a, b, c, n) |
Element division of two matrices \( a = b / c \). | |
subroutine, public | matrix_add2 (a, b, n) |
Vector addition \( a = a + b \). | |
subroutine, public | matrix_add3 (a, b, c, n) |
Vector addition \( a = b + c \). | |
subroutine | matrix_add4 (a, b, c, d, n) |
Vector addition \( a = b + c + d \). | |
subroutine, public | matrix_sub2 (a, b, n) |
Vector substraction \( a = a - b \). | |
subroutine, public | matrix_sub3 (a, b, c, n) |
Vector subtraction \( a = b - c \). | |
subroutine, public | matrix_add2s1 (a, b, c1, n) |
Vector addition with scalar multiplication \( a = c_1 a + b \) (multiplication on first argument) | |
subroutine, public | matrix_add2s2 (a, b, c1, n) |
Vector addition with scalar multiplication \( a = a + c_1 b \) (multiplication on second argument) | |
subroutine, public | matrix_addsqr2s2 (a, b, c1, n) |
Returns \( a = a + c1 * (b * b )\). | |
subroutine, public | matrix_cmult2 (a, b, c, n) |
Multiplication by constant c \( a = c \cdot b \). | |
subroutine, public | matrix_invcol2 (a, b, n) |
Vector division \( a = a / b \). | |
subroutine, public | matrix_col2 (a, b, n) |
Vector multiplication \( a = a \cdot b \). | |
subroutine, public | matrix_col3 (a, b, c, n) |
Vector multiplication with 3 vectors \( a = b \cdot c \). | |
subroutine, public | matrix_subcol3 (a, b, c, n) |
Returns \( a = a - b*c \). | |
subroutine, public | matrix_add3s2 (a, b, c, c1, c2, n) |
Returns \( a = c1 * b + c2 * c \). | |
subroutine, public | matrix_addcol3 (a, b, c, n) |
Returns \( a = a + b*c \). | |
subroutine, public | matrix_addcol4 (a, b, c, d, n) |
Returns \( a = a + b*c*d \). | |
real(kind=rp) function, public | matrix_glsum (a, n) |
Global sum of all elements in a matrix \( sum = \sum_i a_i \). | |
real(kind=rp) function, public | matrix_glsc2 (a, b, n) |
Global inner product of two matrices \( ip = \sum_i a_i * b_i \). | |
real(kind=rp) function, public | matrix_glsc3 (a, b, c, n) |
Global inner product of three matrices \( ip = \sum_i a_i * b_i * c_i \). | |
real(kind=rp) function, public | matrix_glsubnorm (a, b, n) |
Global subtracted norm of two matrices \( norm = \sqrt(\sum_i (a_i - b_i)^2) \). | |