~ubuntu-branches/ubuntu/raring/ffc/raring

« back to all changes in this revision

Viewing changes to ffc/compiler.py

  • Committer: Bazaar Package Importer
  • Author(s): Johannes Ring
  • Date: 2010-07-01 19:54:32 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20100701195432-xz3gw5nprdj79jcb
Tags: 0.9.3-1
* New upstream release.
* debian/control:
  - Minor fix in Vcs fields.
  - Bump Standards-Version to 3.9.0 (no changes needed).
  - Update version for python-ufc, python-fiat, and python-ufl in
    Depends field.
* Switch to dpkg-source 3.0 (quilt) format.
* Update debian/copyright and debian/copyright_hints.

Show diffs side-by-side

added added

removed removed

Lines of Context:
162
162
 
163
163
    info_green("FFC finished in %g seconds.", time() - cpu_time_0)
164
164
 
165
 
    # Return either a single form or a tuple of preprocessed forms
166
 
    forms = analysis[0]
167
 
    if len(forms) == 1:
168
 
        return forms[0]
169
 
    else:
170
 
        return tuple(forms)
171
 
 
172
 
def compile_element(elements, object_names={}, prefix="Element", parameters=default_parameters()):
 
165
def compile_element(elements, prefix="Element", parameters=default_parameters()):
173
166
    """This function generates UFC code for a given UFL element or
174
167
    list of UFL elements."""
175
168