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

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...
 

Detailed Description

Defines a matrix.

Function/Subroutine Documentation

◆ matrix_assign_matrix()

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

Assignment \( m = w \).

Definition at line 116 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

Assignment \( m = s \).

Definition at line 146 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

Deallocate a matrix.

Definition at line 91 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 
)

Initialise a matrix of size nrows*ncols.

Parameters
nrowsNumber of rows.
ncolsNumber of columns.

Definition at line 70 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

Returns the number of entries in the matrix.

Definition at line 109 of file matrix.f90.