System Preprocessors
Flip the sign of a matrix

Most code for iterative methods and preconditioners assumes somewhere that the sign of a matrix is predominantely positive. Hence, we flip the sign of matrices that have no positive diagonal elements.