MatUseScaledForm

For matrix storage formats that scale the matrix (for example MPIRowBS matrices are diagonally scaled on assembly) indicates matrix operations (MatMult() etc) are applied using the scaled matrix.

Synopsis

int MatUseScaledForm(Mat mat,PetscTruth scaled)
Collective on Mat

Input Parameter

mat - the matrix
scaled - PETSC_TRUE for applying the scaled, PETSC_FALSE for applying the original matrix

Notes

For scaled matrix formats, applying the original, unscaled matrix will be slightly more expensive

Keywords

matrix, scale

See Also

MatScaleSystem(), MatUnScaleSystem()

Level:Developer
Location:src/mat/interface/matrix.c
Matrix Index
Table of Contents