← Back to team overview

dolfin team mailing list archive

Re: [HG DOLFIN] Don't initialize vector in DiscreteFunction if already initialized.

 



DOLFIN wrote:
One or more new changesets pushed to the primary dolfin repository.
A short summary of the last three changesets is included below.

changeset:   4751:df802d1b2b349e91a51b70f799ba6d0d3b825376
tag:         tip
user:        Anders Logg <logg@xxxxxxxxx>
date:        Sat Sep 13 08:55:34 2008 +0200
files:       dolfin/function/DiscreteFunction.cpp
description:
Don't initialize vector in DiscreteFunction if already initialized.


Vector::init() only resizes the vector if necessary, but it also zeroes the vector. Looks to me like it is desirable to zero the vector?

Garth


changeset:   4750:1b973f487dc8225975b298ca0adf5ffe02bf58c6
user:        Anders Logg <logg@xxxxxxxxx>
date:        Fri Sep 12 20:29:41 2008 +0200
files:       demo/pde/elasticity/cpp/Elasticity.form demo/pde/elasticity/cpp/Elasticity.h misc/utils/python/extract2d
description:
Bug fix in extract2d


changeset:   4749:013b224e356d79dfa473c6710318e92c5229a50d
user:        "Garth N. Wells <gnw20@xxxxxxxxx>"
date:        Thu Sep 11 17:29:13 2008 +0100
files:       dolfin/fem/DofMap.cpp dolfin/fem/DofMap.h dolfin/function/DiscreteFunction.h
description:
Clean up ownership in DofMap.

----------------------------------------------------------------------
For more details, visit http://www.fenics.org/hg/dolfin
_______________________________________________
DOLFIN-dev mailing list
DOLFIN-dev@xxxxxxxxxx
http://www.fenics.org/mailman/listinfo/dolfin-dev




Follow ups

References