ffc team mailing list archive
-
ffc team
-
Mailing list archive
-
Message #00197
ConvectionDiffusion.form
Anders,
I run the latest cvs-version of FFC (on skalman) for
ConvectionDiffusion.form, the new form that Garth put together. I get the
following error message (below). Is this the same bug that Garth found and
that he wrote a patch for some weeks ago? I get the same message when I
try my NSE forms. Have I missed anything, or is this still a problem? I
checked out a new version of FFC and FIAT the other day, and I run the
command from ffc/src/bin/ffc. Possibly there may be a conflicting older
version of FIAT on th system that may be used by FFC? Where is the default
location that FFC is looking for FIAT?
/Johan
skalman:~/local/ffc/src/demo> cp ../../../ConvectionDiffusion.form .
skalman:~/local/ffc/src/demo> ../bin/ffc ConvectionDiffusion.form
This is FFC, the FEniCS Form Compiler, version 0.1.8.
For further information, go to http://www/fenics.org/ffc/.
Parsing ConvectionDiffusion.form
Output written to ConvectionDiffusion.py
[[((-1.0, -1.0),), ((1.0, -1.0),), ((-1.0, 1.0),)], [(), (), ()], [()]]
((-1.0, -1.0), (1.0, -1.0), (-1.0, 1.0))
Warning: element untested
Traceback (most recent call last):
File "../bin/ffc", line 81, in ?
main(sys.argv[1:])
File "../bin/ffc", line 59, in main
execfile(outname)
File "ConvectionDiffusion.py", line 36, in ?
constant = FiniteElement("Discontinuous Lagrange", "triangle", 0)
File "/home/hoffman/local/lib/python/ffc/compiler/finiteelement.py",
line 66, in __init__
self.element = DiscontinuousLagrange(fiat_shape, degree)
File "/home/hoffman/local/lib/python/FIAT/DiscontinuousLagrange.py",
line 87, in DiscontinuousLagrange
if n == 0: return P0.P0( shape )
File "/home/hoffman/local/lib/python/FIAT/P0.py", line 35, in __init__
Udual = P0Dual( shape , U )
File "/home/hoffman/local/lib/python/FIAT/P0.py", line 21, in __init__
d = shapes_new.dims[ shape ]
AttributeError: 'module' object has no attribute 'dims'
Follow ups