A utility routine that filters a sparse matrix. All (absolute) values below the threshold are set to zero.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(Matrix_ps), | intent(inout) | :: | this |
The matrix to filter. |
||
real(kind=NTREAL), | intent(in) | :: | threshold |
Threshold (absolute) values below this are filtered |