Re: [deal.II] ABOUT OPERATING PETScWrappers::MPI::SparseMatrix

2020-08-30 Thread xs...@berkeley.edu
Thank you very much. Best, Xiang On Sunday, August 30, 2020 at 2:40:14 PM UTC-7 Wolfgang Bangerth wrote: > On 8/30/20 12:20 AM, xs...@berkeley.edu wrote: > > Hi, I declared two same scale matrix A and B using > > PETScWrappers::MPI::SparseMatrix and assign values on these two

[deal.II] ABOUT OPERATING PETScWrappers::MPI::SparseMatrix

2020-08-30 Thread xs...@berkeley.edu
Hi, I declared two same scale matrix A and B using PETScWrappers::MPI::SparseMatrix and assign values on these two matrixes. I want to do some operation on them to get another matrix C which equals h*A+B. How should I get the matrix C? Thank you very much. Xiang -- The deal.II project is

[deal.II] ABOUT READING GMSH

2020-07-20 Thread xs...@berkeley.edu
Hi, can Dealii read the inside boundary from .gmsh file, which can distinguish different parts of model geometry? If it can not, how can dealii import the model with multiple parts? Thanks a lot. Best, Xiang -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum