[petsc-users] Mat-Mat element wise multiplication

Rui Silva ruiefdasilva at gmail.com
Sun Apr 25 12:09:27 CDT 2021


I am writing to you, to ask if there is any simple way to perform 
element-wise multiplication of 2 mpiaij matrices in Petsc? Furthermore 
is there any way to reassemble a matrix that has some zeros stored, to 
reduce the sparsity of the matrix?

Thanks a lot in advance,

R

-- 
  Dr. Rui Emanuel Ferreira da Silva
  Departamento de Física Teórica de la Materia Condensada
  Universidad Autónoma de Madrid, Spain
  Max Born Institute, Berlin, Germany
  https://ruiefdasilva.wixsite.com/ruiefdasilva
  https://mmuscles.eu/
  https://www.mbi-berlin.de/index_en.html



More information about the petsc-users mailing list