← Back to team overview

dolfin team mailing list archive

[HG DOLFIN] Add simple interface to Assembler::assemble_system.

 

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

changeset:   4629:eaef6a1dce3ab408a3f718fe1b8ee987eee286f8
tag:         tip
user:        "Garth N. Wells <gnw20@xxxxxxxxx>"
date:        Wed Aug 20 13:47:58 2008 +0100
files:       dolfin/fem/Assembler.cpp dolfin/fem/Assembler.h dolfin/fem/DirichletBC.cpp dolfin/fem/DirichletBC.h
description:
Add simple interface to Assembler::assemble_system.


changeset:   4628:20c21c1892ac1d1348935d0e245e2508040e5190
user:        "Garth N. Wells <gnw20@xxxxxxxxx>"
date:        Wed Aug 20 12:20:21 2008 +0100
files:       dolfin/fem/Assembler.cpp dolfin/fem/Assembler.h dolfin/fem/assemble.cpp dolfin/fem/assemble.h
description:
Modify function arguments in Assembly::assembly_system.

The function only makes sense for a matrix and a vector, therefore

  GenericTensor& A -> GenericMatrix& A
  GenericTensor& b -> GenericVector& b

Remove numerous #include in header files and replace with forward declarations.


changeset:   4627:8cdb3a120954d335262763b5bd71ed394a639beb
user:        Kent-Andre Mardal <kent-and@xxxxxxxxx>
date:        Wed Aug 20 11:28:53 2008 +0200
files:       demo/pde/sym-dirichlet-bc/dg-speed-up-test.py
description:
speed up results with dg and the new assembly (which now seems to work also for dg)

time for new assembly       4.40532803535  with  uBLAS
time for standard assembly  4.48198795319  with  uBLAS
time for new assembly       3.899477005  with  PETSc
time for standard assembly  4.40028500557  with  PETSc
time for new assembly       4.32548904419  with  Epetra
time for standard assembly  4.36159396172  with  Epetra

Hence, the speed up is very small (except for PETSc)

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