← Back to team overview

dolfin team mailing list archive

[HG DOLFIN] Several Python assembly optimizations and new options:

 

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

changeset:   4271:8431a991a0be07ead18512308cf293a309d4b2a5
tag:         tip
user:        Anders Logg <logg@xxxxxxxxx>
date:        Sat May 31 23:09:58 2008 +0200
files:       demo/mesh/ale/cpp/main.cpp demo/mesh/ale/python/demo.py dolfin/parameter/DefaultParameters.h site-packages/dolfin/assemble.py
description:
Several Python assembly optimizations and new options:
The following options are now available:

  dolfin_set("optimize form", True)              # Use optimization -O2 when compiling generated code
  dolfin_set("optimize use dof map cache", True) # Store dof maps in cache for reuse
  dolfin_set("optimize use tensor cache", True)  # Store tensors in cache for reuse

  dolfin_set("optimize", True)                   # All of the above

Each one of these may make a significant difference for the
speed of assembly from Python, in particular for repeated
assembly.

With these options set, the difference in speed between assembly
in C++ and Python using the JIT compiler is negligible. (For forms
which don't depend on functions that are evaluated in Python.)


changeset:   4270:0ea1d99a0dede858aceb15247169ad5040abc3cc
parent:      4268:ccc6a7a0ad73923bd43e737e52b113c42d58f926
parent:      4269:811e40aaefa5bcc49fec4dc08d867c45764960aa
user:        Anders Logg <logg@xxxxxxxxx>
date:        Thu May 29 22:41:47 2008 +0200
files:       dolfin/mesh/ALE.cpp
description:
Merge bug fix in ALE by Solveig


changeset:   4269:811e40aaefa5bcc49fec4dc08d867c45764960aa
parent:      4263:79866a90eaa56a0f51f4892190124c2b2071e1f3
user:        Solveig Bruvoll <solveio@xxxxxxxxxx>
date:        Thu May 29 10:54:43 2008 +0200
files:       demo/mesh/ale/cpp/main.cpp dolfin/mesh/ALE.cpp
description:
Changed direction of normal vectors

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


Follow ups