← Back to team overview

dolfin team mailing list archive

Re: [HG DOLFIN] Undo change in uBLASMatrix::zero. Made code dead slow.

 

On Friday 21 August 2009 11:33:45 Garth N. Wells wrote:
> Johan Hake wrote:
> > On Friday 21 August 2009 10:51:44 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:   6828:3cca343e28eb9b48c07d3b05f6055bef6cada036
> >> tag:         tip
> >> user:        "Garth N. Wells <gnw20@xxxxxxxxx>"
> >> date:        Fri Aug 21 09:51:32 2009 +0100
> >> files:       dolfin/la/uBLASMatrix.h
> >> description:
> >> Undo change in uBLASMatrix::zero. Made code dead slow.
> >
> > Ok.
> >
> > We need a proper way to initialize a dense ublas matrix. This is of
> > course only a problem when it is wrongly used as a sparse matrix.
>
> Try what I just added.

Works fine here. Lets see what the buildbot give us. 

Also I never had the problem of an initialized dense ublas matrix having Nan 
as entries, but the intrepid-amd64 seemed to complain occasionally.

Johan

> Garth
>
> > Any suggestions?
> >
> > Johan
> >
> >> changeset:   6827:aa67480973b596d63bc9727f8e799c63fe955351
> >> user:        "Garth N. Wells <gnw20@xxxxxxxxx>"
> >> date:        Thu Aug 20 23:33:21 2009 +0100
> >> files:       demo/pde/elasticity/cpp/main.cpp dolfin/fem/DofMap.cpp
> >> dolfin/fem/DofMap.h dolfin/fem/DofMapBuilder.cpp dolfin/plot/plot.cpp
> >> dolfin/plot/plot.h description:
> >> Add option for plot title.
> >>
> >> Some DofMap clean up.
> >>
> >>
> >> changeset:   6826:bb02f5a1846f3dfa761b194a70422a7823cdb01a
> >> user:        "Garth N. Wells <gnw20@xxxxxxxxx>"
> >> date:        Thu Aug 20 22:26:50 2009 +0100
> >> files:       dolfin/io/VTKFile.cpp
> >> description:
> >> Clean up VTK output for constants by using renewed get(...) function.
> >>
> >> Code is now identical in serial and parallel.
> >>
> >> ----------------------------------------------------------------------
> >> 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
> >
> > _______________________________________________
> > DOLFIN-dev mailing list
> > DOLFIN-dev@xxxxxxxxxx
> > http://www.fenics.org/mailman/listinfo/dolfin-dev


References