| Thread Previous • Date Previous • Date Next • Thread Next |
Hellu,errornorm.py seems to not work properly.
This from dolfin import * mesh = UnitSquare(2,2) V = FunctionSpace(mesh, "CG", 1) u = Function(V, "1.0") v = Function(V, "2.0") error = errornorm(u, v, "l2") gives Traceback (most recent call last): File "test_errornorm.py", line 8, in <module> error = errornorm(u, v, "l2")File "/home/meg/local/lib64/python2.6/site-packages/dolfin/errornorm.py", line 51, in errornorm
if not isinstance(u, cpp.Function): NameError: global name 'cpp' is not defined Also value_rank() does not exist in my fenics installation. rank() does however. (I have packages from the repository as of 5 minutes ago.) -- Marie
| Thread Previous • Date Previous • Date Next • Thread Next |