MODFLOW 6  version 6.7.0.dev0
USGS Modular Hydrologic Model
sparsematrixmodule::sparsematrixtype Type Reference
Inheritance diagram for sparsematrixmodule::sparsematrixtype:
Inheritance graph
Collaboration diagram for sparsematrixmodule::sparsematrixtype:
Collaboration graph

Public Member Functions

procedure init => spm_init
 
procedure destroy => spm_destroy
 
procedure create_vec_mm => spm_create_vec_mm
 
procedure create_vec => spm_create_vec
 
procedure get_value_pos => spm_get_value_pos
 
procedure get_diag_value => spm_get_diag_value
 
procedure set_diag_value => spm_set_diag_value
 
procedure set_value_pos => spm_set_value_pos
 
procedure add_value_pos => spm_add_value_pos
 
procedure add_diag_value => spm_add_diag_value
 
procedure zero_entries => spm_zero_entries
 
procedure zero_row_offdiag => spm_zero_row_offdiag
 
procedure get_first_col_pos => spm_get_first_col_pos
 
procedure get_last_col_pos => spm_get_last_col_pos
 
procedure get_column => spm_get_column
 
procedure get_position => spm_get_position
 
procedure get_position_diag => spm_get_position_diag
 
procedure get_aij => spm_get_aij
 
procedure get_row_offset => spm_get_row_offset
 
procedure multiply => spm_multiply
 
procedure allocate_scalars
 
procedure allocate_arrays
 

Public Attributes

integer(i4b), pointer nrow
 
integer(i4b), pointer ncol
 
integer(i4b), pointer nja
 
integer(i4b), dimension(:), pointer, contiguous ia
 indexes into ja for columns, sorted: diagonal element first More...
 
integer(i4b), dimension(:), pointer, contiguous ja
 
real(dp), dimension(:), pointer, contiguous amat
 
character(len=lenmempath) memory_path
 

Detailed Description

Definition at line 12 of file SparseMatrix.f90.

Member Function/Subroutine Documentation

◆ add_diag_value()

procedure sparsematrixmodule::sparsematrixtype::add_diag_value

Definition at line 31 of file SparseMatrix.f90.

◆ add_value_pos()

procedure sparsematrixmodule::sparsematrixtype::add_value_pos

Definition at line 30 of file SparseMatrix.f90.

◆ allocate_arrays()

procedure sparsematrixmodule::sparsematrixtype::allocate_arrays

Definition at line 46 of file SparseMatrix.f90.

◆ allocate_scalars()

procedure sparsematrixmodule::sparsematrixtype::allocate_scalars

Definition at line 45 of file SparseMatrix.f90.

◆ create_vec()

procedure sparsematrixmodule::sparsematrixtype::create_vec

Definition at line 23 of file SparseMatrix.f90.

◆ create_vec_mm()

procedure sparsematrixmodule::sparsematrixtype::create_vec_mm

Definition at line 22 of file SparseMatrix.f90.

◆ destroy()

procedure sparsematrixmodule::sparsematrixtype::destroy

Definition at line 21 of file SparseMatrix.f90.

◆ get_aij()

procedure sparsematrixmodule::sparsematrixtype::get_aij

Definition at line 40 of file SparseMatrix.f90.

◆ get_column()

procedure sparsematrixmodule::sparsematrixtype::get_column

Definition at line 37 of file SparseMatrix.f90.

◆ get_diag_value()

procedure sparsematrixmodule::sparsematrixtype::get_diag_value

Definition at line 26 of file SparseMatrix.f90.

◆ get_first_col_pos()

procedure sparsematrixmodule::sparsematrixtype::get_first_col_pos

Definition at line 35 of file SparseMatrix.f90.

◆ get_last_col_pos()

procedure sparsematrixmodule::sparsematrixtype::get_last_col_pos

Definition at line 36 of file SparseMatrix.f90.

◆ get_position()

procedure sparsematrixmodule::sparsematrixtype::get_position

Definition at line 38 of file SparseMatrix.f90.

◆ get_position_diag()

procedure sparsematrixmodule::sparsematrixtype::get_position_diag

Definition at line 39 of file SparseMatrix.f90.

◆ get_row_offset()

procedure sparsematrixmodule::sparsematrixtype::get_row_offset

Definition at line 41 of file SparseMatrix.f90.

◆ get_value_pos()

procedure sparsematrixmodule::sparsematrixtype::get_value_pos

Definition at line 25 of file SparseMatrix.f90.

◆ init()

procedure sparsematrixmodule::sparsematrixtype::init

Definition at line 20 of file SparseMatrix.f90.

◆ multiply()

procedure sparsematrixmodule::sparsematrixtype::multiply

Definition at line 43 of file SparseMatrix.f90.

◆ set_diag_value()

procedure sparsematrixmodule::sparsematrixtype::set_diag_value

Definition at line 28 of file SparseMatrix.f90.

◆ set_value_pos()

procedure sparsematrixmodule::sparsematrixtype::set_value_pos

Definition at line 29 of file SparseMatrix.f90.

◆ zero_entries()

procedure sparsematrixmodule::sparsematrixtype::zero_entries

Definition at line 32 of file SparseMatrix.f90.

◆ zero_row_offdiag()

procedure sparsematrixmodule::sparsematrixtype::zero_row_offdiag

Definition at line 33 of file SparseMatrix.f90.

Member Data Documentation

◆ amat

real(dp), dimension(:), pointer, contiguous sparsematrixmodule::sparsematrixtype::amat

Definition at line 18 of file SparseMatrix.f90.

18  real(DP), dimension(:), pointer, contiguous :: amat

◆ ia

integer(i4b), dimension(:), pointer, contiguous sparsematrixmodule::sparsematrixtype::ia

Definition at line 16 of file SparseMatrix.f90.

16  integer(I4B), dimension(:), pointer, contiguous :: ia !< indexes into ja for columns, sorted: diagonal element first

◆ ja

integer(i4b), dimension(:), pointer, contiguous sparsematrixmodule::sparsematrixtype::ja

Definition at line 17 of file SparseMatrix.f90.

17  integer(I4B), dimension(:), pointer, contiguous :: ja

◆ memory_path

character(len=lenmempath) matrixbasemodule::matrixbasetype::memory_path
inherited

Definition at line 10 of file MatrixBase.f90.

10  character(len=LENMEMPATH) :: memory_path

◆ ncol

integer(i4b), pointer sparsematrixmodule::sparsematrixtype::ncol

Definition at line 14 of file SparseMatrix.f90.

14  integer(I4B), pointer :: ncol

◆ nja

integer(i4b), pointer sparsematrixmodule::sparsematrixtype::nja

Definition at line 15 of file SparseMatrix.f90.

15  integer(I4B), pointer :: nja

◆ nrow

integer(i4b), pointer sparsematrixmodule::sparsematrixtype::nrow

Definition at line 13 of file SparseMatrix.f90.

13  integer(I4B), pointer :: nrow

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