~johan-hake/dolfin/dolfin-logger

« back to all changes in this revision

Viewing changes to site-packages/dolfin/common/math.py

  • Committer: Anders Logg
  • Date: 2011-05-01 22:01:45 UTC
  • mfrom: (5839.1.29 dolfin-all)
  • Revision ID: logg@simula.no-20110501220145-60ys4e77qbc0mq32
merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
"""Convenience functions that are useful in subdomains and expressions. Matches
2
2
some of the functions in dolfin/math/basic.h."""
3
3
 
 
4
__all__ = ["sqr"]
 
5
 
4
6
from constants import DOLFIN_EPS
5
7
 
6
8
# The cpp version of these functions are about 3 times faster