Neko 0.9.99
A portable framework for high-order spectral element flow simulations
|
Public Member Functions | |
procedure, pass(m) | init (m, nrows, ncols) |
Initialise a matrix of size nrows*ncols . | |
procedure, pass(m) | free (m) |
Deallocate a matrix. | |
procedure, pass(m) | size (m) |
Returns the number of entries in the matrix. | |
procedure, pass(m) | matrix_assign_matrix (m, w) |
Assignment \( m = w \). | |
procedure, pass(m) | matrix_assign_scalar (m, s) |
Assignment \( m = s \). | |
procedure, pass(m) | matrix_add_matrix (m, b) |
Matrix-matrix addition \( v = m + b \). | |
procedure, pass(m) | matrix_add_scalar_left (m, c) |
Matrix-scalar addition \( v = m + c \). | |
procedure, pass(m) | matrix_add_scalar_right (c, m) |
Scalar-matrix addition \( v = c + m \). | |
procedure, pass(m) | matrix_sub_matrix (m, b) |
Matrix-matrix subtraction \( v = m - b \). | |
procedure, pass(m) | matrix_sub_scalar_left (m, c) |
Matrix-scalar subtraction \( v = m - c \). | |
procedure, pass(m) | matrix_sub_scalar_right (c, m) |
Scalar-matrix subtraction \( v = c - m \). | |
procedure, pass(m) | matrix_cmult_left (m, c) |
Matrix-scalar multiplication \( v = m*c \). | |
procedure, pass(m) | matrix_cmult_right (c, m) |
Scalar-matrix multiplication \( v = c*m \). | |
procedure, pass(m) | inverse (m, bcknd) |
Inverse a matrix. | |
generic | assignment (m, w) |
Assignment \( m = w \). | |
generic | assignment (m, s) |
Assignment \( m = s \). | |
generic | operator (m, b) |
Matrix-matrix addition \( v = m + b \). | |
generic | operator (m, c) |
Matrix-scalar addition \( v = m + c \). | |
generic | operator (c, m) |
Scalar-matrix addition \( v = c + m \). | |
generic | operator (m, b) |
Matrix-matrix subtraction \( v = m - b \). | |
generic | operator (m, c) |
Matrix-scalar subtraction \( v = m - c \). | |
generic | operator (c, m) |
Scalar-matrix subtraction \( v = c - m \). | |
generic | operator (m, c) |
Matrix-scalar multiplication \( v = m*c \). | |
generic | operator (c, m) |
Scalar-matrix multiplication \( v = c*m \). | |
Public Attributes | |
real(kind=rp), dimension(:,:), allocatable | x |
Matrix entries. | |
type(c_ptr) | x_d = C_NULL_PTR |
Device pointer. | |
integer | nrows = 0 |
Number of matrix rows. | |
integer | ncols = 0 |
Number of matrix columns. | |
integer | n = 0 |
Total size nows*ncols. | |
Definition at line 46 of file matrix.f90.
generic matrix::matrix_t::assignment | ( | class(matrix_t), intent(inout) | m, |
real(kind=rp), intent(in) | s | ||
) |
Definition at line 82 of file matrix.f90.
Definition at line 56 of file matrix.f90.
procedure, pass(m) matrix::matrix_t::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 54 of file matrix.f90.
procedure, pass(m) matrix::matrix_t::inverse | ( | class(matrix_t), intent(inout) | m, |
integer, optional | bcknd | ||
) |
Definition at line 80 of file matrix.f90.
procedure, pass(m) matrix::matrix_t::matrix_add_matrix | ( | class(matrix_t), intent(in) | m, |
class(matrix_t), intent(in) | b | ||
) |
Definition at line 64 of file matrix.f90.
procedure, pass(m) matrix::matrix_t::matrix_add_scalar_left | ( | class(matrix_t), intent(in) | m, |
real(kind=rp), intent(in) | c | ||
) |
Definition at line 66 of file matrix.f90.
procedure, pass(m) matrix::matrix_t::matrix_add_scalar_right | ( | real(kind=rp), intent(in) | c, |
class(matrix_t), intent(in) | m | ||
) |
Definition at line 68 of file matrix.f90.
procedure, pass(m) matrix::matrix_t::matrix_assign_matrix | ( | class(matrix_t), intent(inout) | m, |
type(matrix_t), intent(in) | w | ||
) |
Definition at line 60 of file matrix.f90.
procedure, pass(m) matrix::matrix_t::matrix_assign_scalar | ( | class(matrix_t), intent(inout) | m, |
real(kind=rp), intent(in) | s | ||
) |
Definition at line 62 of file matrix.f90.
procedure, pass(m) matrix::matrix_t::matrix_cmult_left | ( | class(matrix_t), intent(in) | m, |
real(kind=rp), intent(in) | c | ||
) |
Definition at line 76 of file matrix.f90.
procedure, pass(m) matrix::matrix_t::matrix_cmult_right | ( | real(kind=rp), intent(in) | c, |
class(matrix_t), intent(in) | m | ||
) |
Definition at line 78 of file matrix.f90.
procedure, pass(m) matrix::matrix_t::matrix_sub_matrix | ( | class(matrix_t), intent(in) | m, |
class(matrix_t), intent(in) | b | ||
) |
Definition at line 70 of file matrix.f90.
procedure, pass(m) matrix::matrix_t::matrix_sub_scalar_left | ( | class(matrix_t), intent(in) | m, |
real(kind=rp), intent(in) | c | ||
) |
Definition at line 72 of file matrix.f90.
procedure, pass(m) matrix::matrix_t::matrix_sub_scalar_right | ( | real(kind=rp), intent(in) | c, |
class(matrix_t), intent(in) | m | ||
) |
Definition at line 74 of file matrix.f90.
Definition at line 84 of file matrix.f90.
Definition at line 86 of file matrix.f90.
Definition at line 88 of file matrix.f90.
Definition at line 84 of file matrix.f90.
Definition at line 86 of file matrix.f90.
Definition at line 58 of file matrix.f90.
integer matrix::matrix_t::n = 0 |
Definition at line 51 of file matrix.f90.
integer matrix::matrix_t::ncols = 0 |
Definition at line 50 of file matrix.f90.
integer matrix::matrix_t::nrows = 0 |
Definition at line 49 of file matrix.f90.
real(kind=rp), dimension(:,:), allocatable matrix::matrix_t::x |
Definition at line 47 of file matrix.f90.
type(c_ptr) matrix::matrix_t::x_d = C_NULL_PTR |
Definition at line 48 of file matrix.f90.