Report Typos and Errors    
Semi-Lagrangian Library
Modular library for kinetic and gyrokinetic simulations of plasmas in fusion energy devices.
Private Member Functions | List of all members
sll_f_new_csr_matrix Interface Reference

Private Member Functions

type(sll_t_csr_matrix) function, pointer new_csr_matrix_with_dof (num_rows, num_cols, num_elts, local_to_global_row, num_local_dof_row, local_to_global_col, num_local_dof_col, solver)
 allocates the memory space for a new CSR matrix, More...
 

Detailed Description

Definition at line 96 of file sll_m_sparse_matrix.F90.

Member Function/Subroutine Documentation

◆ new_csr_matrix_with_dof()

type(sll_t_csr_matrix) function, pointer new_csr_matrix_with_dof ( integer(kind=i32), intent(in)  num_rows,
integer(kind=i32), intent(in)  num_cols,
integer(kind=i32), intent(in)  num_elts,
integer(kind=i32), dimension(:, :), intent(in)  local_to_global_row,
integer(kind=i32), intent(in)  num_local_dof_row,
integer(kind=i32), dimension(:, :), intent(in)  local_to_global_col,
integer(kind=i32), intent(in)  num_local_dof_col,
integer(kind=i32), optional  solver 
)
private

allocates the memory space for a new CSR matrix,

initializes it with the given arguments and returns a pointer to the object.

Parameters
[in]num_rows: number of rows
[in]num_cols: number of columns
[in]num_element: number of elements
[in]local_to_global_row: local_to_global_row(\ell,i) gives the global row index of the matrix, for the element i and local degree of freedom \ell
[in]num_local_dof_row: number of local degrees of freedom for the rows
[in]local_to_global_col: local_to_global_col(\ell,i) gives the global column index of the matrix, for the element i and local degree of freedom \ell
[in]num_local_dof_col: number of local degrees of freedom for the columns
Returns
a pointer to the newly allocated object.

Definition at line 123 of file sll_m_sparse_matrix.F90.

Here is the call graph for this function:
    Report Typos and Errors