Neko 1.99.1
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
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.
 
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.
 
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)
 

Function/Subroutine Documentation

◆ cpu_matrix_inverse()

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

Definition at line 216 of file matrix.f90.

Here is the caller graph for this function:

◆ matrix_allocate()

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

Definition at line 98 of file matrix.f90.

◆ matrix_assign_matrix()

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

Definition at line 156 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 186 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,
integer, optional  bcknd 
)
private

Definition at line 202 of file matrix.f90.

Here is the call 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 82 of file matrix.f90.

Here is the call graph for this function:

◆ matrix_ncols()

pure integer function matrix::matrix_ncols ( class(matrix_t), intent(in m)
private

Definition at line 149 of file matrix.f90.

◆ matrix_nrows()

pure integer function matrix::matrix_nrows ( class(matrix_t), intent(in m)
private

Definition at line 142 of file matrix.f90.

◆ matrix_size()

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

Definition at line 135 of file matrix.f90.