← Back to team overview

ffc team mailing list archive

[HG ffc] Add compiler flag -fno_foo where foo is the name of an UFC function that

 

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

changeset:   808:33be18c9f934be78ac61fa018a068395dd9a3216
tag:         tip
user:        "Anders Logg <logg@xxxxxxxxx>"
date:        Tue May 15 14:57:32 2007 +0200
files:       TODO src/bin/ffc src/ffc/compiler/format/ufcformat.py
description:
Add compiler flag -fno_foo where foo is the name of an UFC function that
should not be generated. Can be used to reduce the code size when certain
functions are not needed. Here's an example:

# ffc -s Stokes.form
# wc Stokes.h
 13207  53611 492387 Stokes.h

# ffc -s -fno-evaluate_basis Stokes.form
# wc Stokes.h
 11365  45075 405129 Stokes.h

# ffc -s -fno-evaluate_basis -fno-evaluate_basis_derivatives Stokes.form
# wc Stokes.h
  6115  20339 170605 Stokes.h

This should work with any UFC function name.


changeset:   807:feb2a60ec34934bc25a960b203f1794d2022f08d
user:        "Anders Logg <logg@xxxxxxxxx>"
date:        Tue May 15 14:09:31 2007 +0200
files:       TODO src/bin/ffc src/ffc/compiler/format/ufcformat.py src/ffc/compiler/language/tokens.py
description:
Fix bug for restriction of constants


changeset:   806:7c50fff9c48e7512e731b5916d8952bd38bc5cff
user:        "Anders Logg <logg@xxxxxxxxx>"
date:        Tue May 15 13:13:15 2007 +0200
files:       src/test/regression/reference/MixedMixedElement.h src/test/regression/reference/Stokes.h
description:
Update references


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