Neko
0.8.1
A portable framework for high-order spectral element flow simulations
|
Defines a matrix. More...
Data Types | |
type | matrix_t |
Functions/Subroutines | |
subroutine | matrix_init (m, nrows, ncols) |
Initialise a matrix of size nrows*ncols . More... | |
subroutine | matrix_free (m) |
Deallocate a matrix. More... | |
integer function | matrix_size (m) |
Returns the number of entries in the matrix. More... | |
subroutine | matrix_assign_matrix (m, w) |
Assignment \( m = w \). More... | |
subroutine | matrix_assign_scalar (m, s) |
Assignment \( m = s \). More... | |
Defines a matrix.
|
private |
Assignment \( m = w \).
Definition at line 116 of file matrix.f90.
|
private |
Assignment \( m = s \).
Definition at line 146 of file matrix.f90.
|
private |
Deallocate a matrix.
Definition at line 91 of file matrix.f90.
subroutine matrix::matrix_init | ( | class(matrix_t), intent(inout) | m, |
integer, intent(in) | nrows, | ||
integer, intent(in) | ncols | ||
) |
Initialise a matrix of size nrows*ncols
.
nrows | Number of rows. |
ncols | Number of columns. |
Definition at line 70 of file matrix.f90.
|
private |
Returns the number of entries in the matrix.
Definition at line 109 of file matrix.f90.