MODFLOW 6 version 6.9.0.dev0
USGS Modular Hydrologic Model
Loading...
Searching...
No Matches
PetscMatrix.F90 File Reference
#include <petsc/finclude/petscksp.h>
Include dependency graph for PetscMatrix.F90:

Go to the source code of this file.

Data Types

type  petscmatrixmodule::petscmatrixtype

Modules

module  petscmatrixmodule

Functions/Subroutines

subroutine petscmatrixmodule::pm_init (this, sparse, mem_path)
subroutine petscmatrixmodule::pm_update (this)
 Copies the values from the CSR array into.
subroutine petscmatrixmodule::pm_destroy (this)
class(vectorbasetype) function, pointer petscmatrixmodule::pm_create_vec_mm (this, n, name, mem_path)
class(vectorbasetype) function, pointer petscmatrixmodule::pm_create_vec (this, n)
real(dp) function petscmatrixmodule::pm_get_value_pos (this, ipos)
real(dp) function petscmatrixmodule::pm_get_diag_value (this, irow)
subroutine petscmatrixmodule::pm_set_diag_value (this, irow, diag_value)
subroutine petscmatrixmodule::pm_set_value_pos (this, ipos, value)
subroutine petscmatrixmodule::pm_add_value_pos (this, ipos, value)
subroutine petscmatrixmodule::pm_add_diag_value (this, irow, value)
integer(i4b) function petscmatrixmodule::pm_get_first_col_pos (this, irow)
integer(i4b) function petscmatrixmodule::pm_get_last_col_pos (this, irow)
integer(i4b) function petscmatrixmodule::pm_get_column (this, ipos)
integer(i4b) function petscmatrixmodule::pm_get_position (this, irow, icol)
 Return position index for (irow,icol) element in the matrix. This index can be used in other routines for direct access.
integer(i4b) function petscmatrixmodule::pm_get_position_diag (this, irow)
subroutine petscmatrixmodule::pm_zero_entries (this)
 Set all entries in the matrix to zero.
subroutine petscmatrixmodule::pm_zero_row_offdiag (this, irow)
 Set all off-diagonal entries in the matrix to zero.
subroutine petscmatrixmodule::pm_get_aij (this, ia, ja, amat)
subroutine petscmatrixmodule::pm_get_aij_local (this, ia, ja, amat)
 Get the ia/ja and amat values for the local diagonal block of this matrix. It is a copy.
integer(i4b) function petscmatrixmodule::pm_get_row_offset (this)
subroutine petscmatrixmodule::pm_multiply (this, vec_x, vec_y)
 Calculates global matrix vector product: y = A * x.