Neko  0.9.0
A portable framework for high-order spectral element flow simulations
matrix Module Reference

Defines a matrix.

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...
 
type(matrix_t) function matrix_add_matrix (m, b)
 Matrix-matrix addition \( v = m + b \). More...
 
type(matrix_t) function matrix_add_scalar_left (m, c)
 Matrix-scalar addition \( v = m + c \). More...
 
type(matrix_t) function matrix_add_scalar_right (c, m)
 Scalar-matrix addition \( v = c + m \). More...
 
type(matrix_t) function matrix_sub_matrix (m, b)
 Matrix-matrix subtraction \( v = m - b \). More...
 
type(matrix_t) function matrix_sub_scalar_left (m, c)
 Matrix-scalar subtraction \( v = m - c \). More...
 
type(matrix_t) function matrix_sub_scalar_right (c, m)
 Scalar-matrix subtraction \( v = c - m \). More...
 
type(matrix_t) function matrix_cmult_left (m, c)
 Matrix-scalar multiplication \( v = m*c \). More...
 
type(matrix_t) function matrix_cmult_right (c, m)
 Scalar-matrix multiplication \( v = c*m \). More...
 
subroutine matrix_bcknd_inverse (m)
 
subroutine cpu_matrix_inverse (m)
 

Function/Subroutine Documentation

◆ cpu_matrix_inverse()

subroutine matrix::cpu_matrix_inverse ( class(matrix_t), intent(inout)  m)
private

Definition at line 352 of file matrix.f90.

Here is the caller graph for this function:

◆ matrix_add_matrix()

type(matrix_t) function matrix::matrix_add_matrix ( class(matrix_t), intent(in)  m,
class(matrix_t), intent(in)  b 
)
private

Definition at line 189 of file matrix.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ matrix_add_scalar_left()

type(matrix_t) function matrix::matrix_add_scalar_left ( class(matrix_t), intent(in)  m,
real(kind=rp), intent(in)  c 
)
private

Definition at line 214 of file matrix.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ matrix_add_scalar_right()

type(matrix_t) function matrix::matrix_add_scalar_right ( real(kind=rp), intent(in)  c,
class(matrix_t), intent(in)  m 
)
private

Definition at line 237 of file matrix.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ matrix_assign_matrix()

subroutine matrix::matrix_assign_matrix ( class(matrix_t), intent(inout)  m,
type(matrix_t), intent(in)  w 
)
private

Definition at line 142 of file matrix.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ matrix_assign_scalar()

subroutine matrix::matrix_assign_scalar ( class(matrix_t), intent(inout)  m,
real(kind=rp), intent(in)  s 
)
private

Definition at line 172 of file matrix.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ matrix_bcknd_inverse()

subroutine matrix::matrix_bcknd_inverse ( class(matrix_t), intent(inout)  m)
private

Definition at line 343 of file matrix.f90.

Here is the call graph for this function:

◆ matrix_cmult_left()

type(matrix_t) function matrix::matrix_cmult_left ( class(matrix_t), intent(in)  m,
real(kind=rp), intent(in)  c 
)
private

Definition at line 311 of file matrix.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ matrix_cmult_right()

type(matrix_t) function matrix::matrix_cmult_right ( real(kind=rp), intent(in)  c,
class(matrix_t), intent(in)  m 
)
private

Definition at line 334 of file matrix.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ matrix_free()

subroutine matrix::matrix_free ( class(matrix_t), intent(inout)  m)
private

Definition at line 117 of file matrix.f90.

Here is the call graph for this function:

◆ matrix_init()

subroutine matrix::matrix_init ( class(matrix_t), intent(inout)  m,
integer, intent(in)  nrows,
integer, intent(in)  ncols 
)
Parameters
nrowsNumber of rows.
ncolsNumber of columns.

Definition at line 96 of file matrix.f90.

Here is the call graph for this function:

◆ matrix_size()

integer function matrix::matrix_size ( class(matrix_t), intent(inout)  m)
private

Definition at line 135 of file matrix.f90.

◆ matrix_sub_matrix()

type(matrix_t) function matrix::matrix_sub_matrix ( class(matrix_t), intent(in)  m,
class(matrix_t), intent(in)  b 
)
private

Definition at line 247 of file matrix.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ matrix_sub_scalar_left()

type(matrix_t) function matrix::matrix_sub_scalar_left ( class(matrix_t), intent(in)  m,
real(kind=rp), intent(in)  c 
)
private

Definition at line 272 of file matrix.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ matrix_sub_scalar_right()

type(matrix_t) function matrix::matrix_sub_scalar_right ( real(kind=rp), intent(in)  c,
class(matrix_t), intent(in)  m 
)
private

Definition at line 295 of file matrix.f90.

Here is the call graph for this function:
Here is the caller graph for this function: