|
Neko 1.99.2
A portable framework for high-order spectral element flow simulations
|
Defines a matrix.
Data Types | |
| type | matrix_ptr_t |
| type | matrix_t |
Functions/Subroutines | |
| subroutine | matrix_init (m, nrows, ncols) |
Initialise a matrix of size nrows*ncols. | |
| subroutine | matrix_allocate (m, nrows, ncols) |
Allocate a matrix of size nrows*ncols. | |
| subroutine | matrix_free (m) |
| Deallocate a matrix. | |
| pure integer function | matrix_size (m) |
| Returns the number of entries in the matrix. | |
| subroutine | matrix_copy_from (m, memdir, sync) |
| Easy way to copy between host and device. | |
| pure integer function | matrix_nrows (m) |
| Returns the number of rows in the matrix. | |
| pure integer function | matrix_ncols (m) |
| Returns the number of columns in the matrix. | |
| subroutine | matrix_assign_matrix (m, w) |
| Assignment \( m = w \). | |
| subroutine | matrix_assign_scalar (m, s) |
| Assignment \( m = s \). | |
| subroutine | matrix_bcknd_inverse (m, bcknd) |
| subroutine | cpu_matrix_inverse (m) |
|
private |
|
private |
| nrows | Number of rows. |
| ncols | Number of columns. |
Definition at line 106 of file matrix.f90.

|
private |
Definition at line 183 of file matrix.f90.


|
private |
Definition at line 213 of file matrix.f90.


|
private |
| m | matrix to copy to/from device/host @memdir direction to copy (HOST_TO_DEVICE or DEVICE_TO_HOST) @sync whether the memcopy to be blocking or not |
Definition at line 157 of file matrix.f90.
|
private |
| subroutine matrix::matrix_init | ( | class(matrix_t), intent(inout) | m, |
| integer, intent(in) | nrows, | ||
| integer, intent(in) | ncols | ||
| ) |
| nrows | Number of rows. |
| ncols | Number of columns. |
Definition at line 90 of file matrix.f90.

Definition at line 176 of file matrix.f90.
Definition at line 169 of file matrix.f90.