← Back to team overview

dolfin team mailing list archive

[HG DOLFIN] Add class Table for pretty-printing of tables (for example assembly

 

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

changeset:   4472:baffcdcd2ed24bcd405f9a8b127465211da246ea
tag:         tip
user:        Anders Logg <logg@xxxxxxxxx>
date:        Sun Jul 20 23:58:32 2008 +0200
files:       ChangeLog dolfin/log/Table.cpp dolfin/log/Table.h dolfin/log/dolfin_log.h sandbox/misc/main.cpp
description:
Add class Table for pretty-printing of tables (for example assembly
benchmark results). Example usage:

  Table table;

  table("uBLAS",  "Assemble") = 0.010;
  table("uBLAS",  "Solve")    = 0.020;
  table("PETSc",  "Assemble") = 0.011;
  table("PETSc",  "Solve")    = 0.019;
  table("Epetra", "Assemble") = 0.012;
  table("Epetra", "Solve")    = 0.018;

  table.disp();

Gives the following output:

          |   Init  Assemble
  --------------------------
  uBLAS   |   0.01      0.02
  PETSc   |  0.011     0.019
  Epetra  |  0.012     0.018


changeset:   4471:3c837e1bbedf94b796b0cb1d3a62cc5c2eef2734
user:        "Garth N. Wells <gnw20@xxxxxxxxx>"
date:        Sun Jul 20 21:52:03 2008 +0100
files:       dolfin/la/UmfpackLUSolver.cpp
description:
Work on getting #ifdefs right.


changeset:   4470:f421733da5c1b11b2e31ddb6504d80651be1f8df
user:        "Garth N. Wells <gnw20@xxxxxxxxx>"
date:        Sun Jul 20 21:38:17 2008 +0100
files:       demo/pde/poisson/cpp/main.cpp dolfin/la/UmfpackLUSolver.cpp dolfin/la/UmfpackLUSolver.h
description:
Fix some preprocessor directives.

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