← Back to team overview

dolfin team mailing list archive

[HG DOLFIN] Add comment about using std::tr1::unsorted_set in SparsityPattern

 

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

changeset:   6247:cb87b487e83394a20e856cff478682c72e4d2ff6
tag:         tip
user:        Anders Logg <logg@xxxxxxxxx>
date:        Mon Jun 01 17:13:02 2009 +0200
files:       dolfin/la/SparsityPattern.h
description:
Add comment about using std::tr1::unsorted_set in SparsityPattern


changeset:   6246:eaa1e745ef37140f7c0edb7180e1d494b9145632
user:        Anders Logg <logg@xxxxxxxxx>
date:        Mon Jun 01 16:44:47 2009 +0200
files:       bench/fem/assembly/cpp/bench.log
description:
Rerun benchmark after change from std::vector to std::set in SparsityPattern.
Deleting sparsity pattern seems to take much longer.


changeset:   6245:30c1540b12097130e3ed48ed572819471c884a7b
user:        "Garth N. Wells <gnw20@xxxxxxxxx>"
date:        Mon Jun 01 15:06:26 2009 +0100
files:       dolfin/la/EpetraSparsityPattern.cpp dolfin/la/EpetraSparsityPattern.h dolfin/la/GenericSparsityPattern.h dolfin/la/SparsityPattern.cpp dolfin/la/SparsityPattern.h dolfin/la/uBLASMatrix.h
description:
Use std::set in SparsityPattern.

Some performance issues seem to have been resolved with std::set.

std::tr1::unsorted_set is faster, but requires some effort to sort. Sorting is only relevant to the uBLAS backend at this point.

----------------------------------------------------------------------
For more details, visit http://www.fenics.org/hg/dolfin