dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #04835
Re: [UFC-dev] Zeros in matrices
On Mon, Apr 30, 2007 at 11:42:13AM +0200, Martin Sandve Alnæs wrote:
> > Anders Logg wrote:
> > > We could add something like
> > >
> > > void tabulate_nonzero_entries(bool* nonzero_entries);
> > >
> > > to go along with tabulate_tensor() in the UFC interface.
>
> I think the simplest solution is to do this at the linear algebra
> level, ie make a call to the CRS matrix to make it compact its storage
> by removing zeros. I believe this functionality already exists in many
> linear algebra classes.
>
> martin
Agree.
/Anders
References