Neko  0.8.1
A portable framework for high-order spectral element flow simulations
matrix::matrix_t Type Reference
Collaboration diagram for matrix::matrix_t:

Public Member Functions

procedure, pass(m) init => matrix_init
 Initialise a matrix of size nrows*ncols. More...
 
procedure, pass(m) free => matrix_free
 Deallocate a matrix. More...
 
procedure, pass(m) size => matrix_size
 Returns the number of entries in the matrix. More...
 
procedure, pass(m) matrix_assign_matrix
 Assignment \( m = w \). More...
 
procedure, pass(m) matrix_assign_scalar
 Assignment \( m = s \). More...
 
generic assignment => matrix_assign_matrix, matrix_assign_scalar
 

Public Attributes

real(kind=rp), dimension(:,:), allocatable x
 Matrix entries. More...
 
type(c_ptr) x_d = C_NULL_PTR
 Device pointer. More...
 
integer nrows = 0
 Number of matrix rows. More...
 
integer ncols = 0
 Number of matrix columns. More...
 
integer n = 0
 Total size nows*ncols. More...
 

Detailed Description

Definition at line 44 of file matrix.f90.

Member Function/Subroutine Documentation

◆ assignment()

generic matrix::matrix_t::assignment

Definition at line 61 of file matrix.f90.

Here is the call graph for this function:

◆ free()

procedure, pass(m) matrix::matrix_t::free

Deallocate a matrix.

Definition at line 54 of file matrix.f90.

◆ init()

procedure, pass(m) matrix::matrix_t::init

Initialise a matrix of size nrows*ncols.

Definition at line 52 of file matrix.f90.

◆ matrix_assign_matrix()

procedure, pass(m) matrix::matrix_t::matrix_assign_matrix

Assignment \( m = w \).

Definition at line 58 of file matrix.f90.

◆ matrix_assign_scalar()

procedure, pass(m) matrix::matrix_t::matrix_assign_scalar

Assignment \( m = s \).

Definition at line 60 of file matrix.f90.

◆ size()

procedure, pass(m) matrix::matrix_t::size

Returns the number of entries in the matrix.

Definition at line 56 of file matrix.f90.

Member Data Documentation

◆ n

integer matrix::matrix_t::n = 0

Total size nows*ncols.

Definition at line 49 of file matrix.f90.

◆ ncols

integer matrix::matrix_t::ncols = 0

Number of matrix columns.

Definition at line 48 of file matrix.f90.

◆ nrows

integer matrix::matrix_t::nrows = 0

Number of matrix rows.

Definition at line 47 of file matrix.f90.

◆ x

real(kind=rp), dimension(:,:), allocatable matrix::matrix_t::x

Matrix entries.

Definition at line 45 of file matrix.f90.

◆ x_d

type(c_ptr) matrix::matrix_t::x_d = C_NULL_PTR

Device pointer.

Definition at line 46 of file matrix.f90.


The documentation for this type was generated from the following file: