Subject: [UFC-dev] [HG ufc] Implemented benchmark function to run tabulate_tensor in cell_integral 0 from a form.

From: [email-masked] (UFC)
Date: Fri, 21 Sep 2007 18:14:19 +0200 (CEST)

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

changeset:   180:645105de67846ad3cac1e310308fe6f6a8b60f77
tag:         tip
user:        "Martin Sandve Alnæs <[email-masked]>"
date:        Fri Sep 21 18:16:38 2007 +0200
files:       src/utils/python/ufc_benchmark/Makefile src/utils/python/ufc_benchmark/ufc_benchmark.cpp src/utils/python/ufc_benchmark/ufc_benchmark.h src/utils/python/ufc_benchmark/ufc_benchmark.i
description:
Implemented benchmark function to run tabulate_tensor in cell_integral 0 from a form.
Not tested yet, and does not fill in coordinates with anything sensible.

Note: We should add uint geometric_dimension() and uint topologic_dimension() to ufc::form.

changeset:   179:647824932573aefea51b11acaff2f2941888a4c0
user:        "Martin Sandve Alnæs <[email-masked]>"
date:        Fri Sep 21 17:39:23 2007 +0200
files:       src/utils/python/ufc_benchmark/ufc_benchmark.i
description:
Added python function to do the timing, since I have
no idea how to do portable accurate timing in C++.
With n large enough, the overhead should be neglible.

Usage:
from ufc_benchmark import *
times = benchmark_forms([form1, form2], n=1e8)

(But the C++ function benchmark(form, n) is still not implemented.)

changeset:   178:2f2a7b4ff40548ead82183d6c53e36f6d03c881d
user:        "Martin Sandve Alnæs <[email-masked]>"
date:        Fri Sep 21 17:24:22 2007 +0200
files:       src/utils/python/ufc_benchmark/Makefile src/utils/python/ufc_benchmark/setup.py src/utils/python/ufc_benchmark/ufc_benchmark.cpp src/utils/python/ufc_benchmark/ufc_benchmark.h src/utils/python/ufc_benchmark/ufc_benchmark.i
description:
Added framework for Python benchmark module utility.
(The benchmark function isn't implemented yet.)

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