← Back to team overview

ffc team mailing list archive

Re: [HG FFC] Use propagate_restrictions for -O quadrature.

 

Quoting Anders Logg <logg@xxxxxxxxx>:

> On Tue, Oct 20, 2009 at 06:16:31PM +0100, Garth N. Wells wrote:
> >
> >
> > FFC wrote:
> > > One or more new changesets pushed to the primary ffc repository.
> > > A short summary of the last three changesets is included below.
> > >
> > > changeset:   1702:b974130238c8
> > > tag:         tip
> > > user:        "Kristian Oelgaard <k.b.oelgaard@xxxxxxxxxx>"
> > > date:        Tue Oct 20 10:01:48 2009 +0200
> > > files:       ffc/compiler/quadrature/optimisedquadraturetransformer.py
> > > description:
> > > Use propagate_restrictions for -O quadrature.
> > >
> >
> > It looks like some of the recent changes to the quadrature code have
> > broken restrictions to cell facets. My solver worked fine at
> >
> >    changeset 9c35a629d382
> >
> > but is broken at
> >
> >    changeset 300e62f9d068
> >
> > Doesn't work with or without optimisation.
>
> I also have problems with the latest version.
>
> I'm seeing things like
>
>  File
> 
"/home/logg/scratch/lib/fenics-dev/lib/python2.6/site-packages/ufl/algorithms/transformations.py",
>  line 132, in visit
>     r = h(o)
>   File
>
>
"/home/logg/scratch/lib/fenics-dev/lib/python2.6/site-packages/ffc/compiler/quadrature/quadraturetransformerbase.py",
>   line 208, in zero
>     error("Zero is not supported (yet).")
>   File "<string>", line 1, in <lambda>
>   File
>   "/home/logg/scratch/lib/fenics-dev/lib/python2.6/site-packages/ufl/log.py",
>   line 106, in error
>     raise UFLException(self._format_raw(*message))
> ufl.log.UFLException: Zero is not supported (yet).

I just pushed a changeset that should take care of your problem Anders.

Kristian

> --
> Anders
>
>
> > Garth
> >
> > >
> > > changeset:   1701:2ed6d6c84bef
> > > user:        "Kristian Oelgaard <k.b.oelgaard@xxxxxxxxxx>"
> > > date:        Mon Oct 19 17:54:28 2009 +0200
> > > files:       ffc/compiler/quadrature/optimisedquadraturetransformer.py
> ffc/compiler/quadrature/quadraturetransformer.py
> ffc/compiler/quadrature/symbolics.py
> > > description:
> > > Comment hotshot import to make buildbot happy.
> > >
> > >
> > > changeset:   1700:835b1ae2977c
> > > parent:      1699:abd4102e7d16
> > > parent:      1692:a898293f3256
> > > user:        "Kristian Oelgaard <k.b.oelgaard@xxxxxxxxxx>"
> > > date:        Mon Oct 19 17:37:41 2009 +0200
> > > files:       ffc/compiler/language/README
> ffc/compiler/language/algebra.py
> > > description:
> > > merge
> > >
> > > ----------------------------------------------------------------------
> > > For more details, visit http://www.fenics.org/hg/ffc
> > > _______________________________________________
> > > FFC-dev mailing list
> > > FFC-dev@xxxxxxxxxx
> > > http://www.fenics.org/mailman/listinfo/ffc-dev
> >
> >
> > _______________________________________________
> > FFC-dev mailing list
> > FFC-dev@xxxxxxxxxx
> > http://www.fenics.org/mailman/listinfo/ffc-dev
>




Follow ups

References