ffc team mailing list archive
-
ffc team
-
Mailing list archive
-
Message #00282
Handle exceptions gracefully in command-line interface. Instead of [...]
Commit from logg (2005-09-14 22:22 CEST)
----------------
Handle exceptions gracefully in command-line interface. Instead of
just printing out the traceback, a hopefully informative error message
is now written.
Example:
a = dot(grad(v), grad(v))*dx
generates the error message
*** Error at (dXa0/dx0)(dXa1/dx0) | ((d/dXa0)vi0)*((d/dXa1)vi0)*dX + (dXa0/dx1)(dXa1/dx1) | ((d/dXa0)vi0)*((d/dXa1)vi0)*dX
*** There can only be one test function.
ffc ChangeLog 1.73
ffc src/bin/ffc 1.19
ffc src/demo/Poisson.form 1.18
+ ffc src/ffc/common/exceptions.py 1.1
ffc src/ffc/compiler/algebra.py 1.16
ffc src/ffc/compiler/compiler.py 1.24
ffc src/ffc/compiler/elementsearch.py 1.4
ffc src/ffc/compiler/elementtensor.py 1.14
ffc src/ffc/compiler/form.py 1.16
ffc src/ffc/compiler/integrator.py 1.15
ffc src/ffc/compiler/operators.py 1.6
ffc src/ffc/compiler/referencetensor.py 1.11
ffc src/ffc/compiler/reorder.py 1.6
ffc src/ffc/format/dolfin.py 1.36
ffc src/ffc/parser/simple.py 1.9