This function resets the global matrix to be of the same sparsity pattern as before but with every entry set to s.
Alphabetic index