← Back to team overview

dolfin team mailing list archive

Re: Zeros in matrices

 

On Fri, Apr 27, 2007 at 05:24:34PM +0200, Garth N. Wells wrote:
> 
> 
> Anders Logg wrote:
> > I'm comparing the entries in the Stokes systems between the new code
> > and the old and there seem to be quite a few more zeros in the sparse
> > matrix than before.
> >
> 
> Strange. Have you counted the non-zeroes, or are you displaying the matrix?

Displaying the matrix and counting everything that looks like zero.
(Just looking at the numbers.)

/Anders


> Garth
> 
> > Could this have anything to do with the initialization of uBlas
> > matrices with a sparsity pattern and not using the temporary storage
> > as before? Did we have a check that removed zeros?
> > 
> > I haven't tried with PETSc.
> > 
> > /Anders
> > _______________________________________________
> > DOLFIN-dev mailing list
> > DOLFIN-dev@xxxxxxxxxx
> > http://www.fenics.org/mailman/listinfo/dolfin-dev
> > 
> 
> 
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev


Follow ups

References