← Back to team overview

dolfin team mailing list archive

Changed PETSc matrix format in NewMatrix which gives about [...]

 

Commit from hoffman (2005-01-21 10:36 CET)
-------------------

Changed PETSc matrix format in NewMatrix which gives about
a factor 50 speed-up in the assembly. For assembly
FFC+PETSc is now the fastest combination in the benchmark
in src/demo/form/main.cpp :

DOLFIN + DOLFIN: 9.590000
DOLFIN + OPTIM:  0.570000
DOLFIN + FFC:    0.570000
PETSc  + FFC:    0.520000

Added rhs assembly to NewFEM, in addition to other updates
of NewVector, NewMatrix, and NewFEM, to prepare for new
structure based on FFC and PETSc.

  dolfin  aclocal.m4                                        1.87
  dolfin  configure                                         1.125
  dolfin  src/demo/form/main.cpp                            1.17
  dolfin  src/demo/la/Makefile                              1.168
  dolfin  src/demo/solvers/elasticity-stationary/main.cpp   1.3
  dolfin  src/demo/solvers/navierstokes/benchmark/main.cpp  1.6
  dolfin  src/demo/solvers/ode/stiff/Makefile               1.123
  dolfin  src/kernel/fem/Makefile                           1.174
  dolfin  src/kernel/fem/NewFEM.cpp                         1.17
  dolfin  src/kernel/fem/dolfin/NewFEM.h                    1.11
  dolfin  src/kernel/la/NewMatrix.cpp                       1.10
  dolfin  src/kernel/la/NewVector.cpp                       1.11
  dolfin  src/kernel/la/dolfin/NewMatrix.h                  1.8
  dolfin  src/kernel/la/dolfin/NewVector.h                  1.10