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

« back to all changes in this revision

Viewing changes to ffc/errorcontrol/errorcontrolgenerators.py

  • Committer: Package Import Robot
  • Author(s): Johannes Ring
  • Date: 2011-10-26 17:52:20 UTC
  • mfrom: (1.1.10)
  • Revision ID: package-import@ubuntu.com-20111026175220-ope1dzqv4jn2b8pq
Tags: 1.0-beta2-1
* New upstream release. This release includes some performance
  improvements for evaluating basis functions. It also adds support
  for Bessel functions and error functions.
* debian/control: Bump version numbers for python-ufc, python-fiat,
  python-instant, and python-ufl.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
#
25
25
# Last changed: 2011-06-29
26
26
 
27
 
from ufl import inner, dx, ds, dS, avg, adjoint, replace, action
 
27
from ufl import inner, dx, ds, dS, avg, replace, action
28
28
from ufl.algorithms.analysis import extract_arguments
29
29
 
30
30
__all__ = ["ErrorControlGenerator", "UFLErrorControlGenerator"]
124
124
        Generate and return (bilinear, linear) forms defining linear
125
125
        dual variational problem
126
126
        """
127
 
        a_star = adjoint(self.lhs)
 
127
        a_star = self.module.adjoint(self.lhs)
128
128
        L_star = self.module.derivative(self.goal, self.u)
129
129
        return (a_star, L_star)
130
130