dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #24616
Re: [Branch ~dolfin-core/dolfin/logg] Rev 6319: Add options finalize_tensor/finalize_tensors to Python assemble functions.
On Friday September 30 2011 09:56:41 Anders Logg wrote:
> On Fri, Sep 30, 2011 at 08:05:21AM -0700, Johan Hake wrote:
> > On Friday September 30 2011 07:26:16 noreply@xxxxxxxxxxxxx wrote:
> > > ------------------------------------------------------------
> > > revno: 6319
> > > committer: Anders Logg <logg@xxxxxxxxx>
> > > branch nick: work
> > > timestamp: Fri 2011-09-30 16:23:08 +0200
> > >
> > > message:
> > > Add options finalize_tensor/finalize_tensors to Python assemble
> > >
> > > functions. Note change of name of option reset_sparsity -->
> > > reset_sparsities for assemble_system for consistency with option name
> > > in
> >
> > Maybe change back to reset_sparsity for both functions instead, as the
> > sparsity pattern only is built for Matrices?
>
> I thought about it but noticed that init_global_tensor is called for
> both so "reset_sparsities" is consistent with "finalize_tensors".
Yes, but the SpartistyPatternBuilder::build just build a sparsity pattern for
Tensors with rank 2 or larger.
Johan
> --
> Anders
>
> > Johan
> >
> > > SystemAssembler. modified:
> > > site-packages/dolfin/fem/assembling.py
> >
> > _______________________________________________
> > Mailing list: https://launchpad.net/~dolfin
> > Post to : dolfin@xxxxxxxxxxxxxxxxxxx
> > Unsubscribe : https://launchpad.net/~dolfin
> > More help : https://help.launchpad.net/ListHelp
Follow ups
References