On Tue, Feb 02, 2010 at 11:20:32PM -0000, nore...@launchpad.net wrote: > ------------------------------------------------------------ > revno: 4434 > committer: Garth N. Wells <gn...@cam.ac.uk> > branch nick: dolfin-all > timestamp: Tue 2010-02-02 23:16:44 +0000 > message: > Set parameter to use tensor rep for DG Poisson demo. It's broken. > > This shows that tensor rep is not wotking for DG.
I think it just shows that the tensor representation does not handle FacetNormals or Division which is known. Without the -r representation option, FFC will automatically discover that the integrand in question needs to be done with quadrature but if someone insists on -r tensor, then FFC will try and explain why it fails: *** FFC: No handler defined for expression Division. I'll switch the demo back to "auto". -- Anders > modified: > demo/pde/dg/poisson/python/demo.py > > > === modified file 'demo/pde/dg/poisson/python/demo.py' > --- demo/pde/dg/poisson/python/demo.py 2010-01-27 21:09:29 +0000 > +++ demo/pde/dg/poisson/python/demo.py 2010-02-02 23:16:44 +0000 > @@ -23,6 +23,8 @@ > > from dolfin import * > > +parameters["form_compiler"]["representation"] = "tensor" > + > # Create mesh and define function space > mesh = UnitSquare(24, 24) > V = FunctionSpace(mesh, "DG", 1) >
signature.asc
Description: Digital signature
_______________________________________________ Mailing list: https://launchpad.net/~ffc Post to : ffc@lists.launchpad.net Unsubscribe : https://launchpad.net/~ffc More help : https://help.launchpad.net/ListHelp