ffc team mailing list archive
-
ffc team
-
Mailing list archive
-
Message #01385
Re: [HG FFC] Fix wrong path to import of quadrature.py
ok, should be fixed now.
--
Anders
On Wed, Nov 28, 2007 at 09:09:42AM +0100, Kristian Oelgaard wrote:
>
> I think this (or the previous) commit broke FFC:
>
> Computing tensor representation for term 0... [(0.33333333333333331,
> 0.33333333333333337)] [ 0.5]
> Traceback (most recent call last):
> File "/home/oelgaard/fenics/ffc/src/bin/ffc", line 180, in <module>
> sys.exit(main(sys.argv[1:]))
> File "/home/oelgaard/fenics/ffc/src/bin/ffc", line 107, in main
> execfile(outname, ns)
> File "Poisson.py", line 50, in <module>
> compile([a, L, M, element], "Poisson", "tensor", "dolfin",
> {'quadrature_points=': False, 'blas': False, 'precision=': '15', 'optimize': False})
> File "../../ffc/compiler/compiler.py", line 67, in compile
> File "../../ffc/compiler/compiler.py", line 98, in __compile_forms
> File "../../ffc/compiler/compiler.py", line 199, in compute_form_representation
> File "../../ffc/compiler/representation/tensor/tensorrepresentation.py", line
> 50, in __init__
> File "../../ffc/compiler/representation/tensor/tensorrepresentation.py", line
> 72, in __compute_cell_tensor
> File "../../ffc/compiler/representation/tensor/tensorrepresentation.py", line
> 172, in __compute_terms
> File "../../ffc/compiler/representation/tensor/referencetensor.py", line 28,
> in __init__
> File "../../ffc/compiler/representation/tensor/monomialintegration.py", line
> 49, in integrate
> File "../../ffc/compiler/representation/tensor/monomialintegration.py", line
> 86, in __init_quadrature
> AttributeError: 'tuple' object has no attribute 'get_points'
>
> Kristian
>
> Quoting FFC <ffc@xxxxxxxxxx>:
>
> > One or more new changesets pushed to the primary ffc repository.
> > A short summary of the last three changesets is included below.
> >
> > changeset: 1017:3e28b0a599716e8c70e9562f9ad082aa593b8b01
> > tag: tip
> > user: "Anders Logg <logg@xxxxxxxxx>"
> > date: Tue Nov 27 15:10:29 2007 +0100
> > files: src/ffc/compiler/representation/tensor/monomialintegration.py
> > description:
> > Fix wrong path to import of quadrature.py
> >
> >
> > changeset: 1016:2866deaf32ca9f7e60ecb5a79fa0fabfee8ea340
> > user: "Anders Logg <logg@xxxxxxxxx>"
> > date: Tue Nov 27 14:17:29 2007 +0100
> > files: src/ffc/compiler/representation/tensor/monomialintegration.py
> > src/ffc/fem/quadrature.py
> > description:
> > Add module for quadrature on UFC reference element. This is
> > a wrapper for FIAT.quadrature.make_quadrature that returns
> > points and weights for the UFC reference cells.
> >
> >
> > changeset: 1015:25ec2599cb6658685f77c0fdbb421d430595bc7b
> > parent: 1014:75f4de537f2ffb6e4b59b5dfd2c00199ec31ee98
> > parent: 1013:03e17c947b390acac27a1cc70bae13bfd5e2d143
> > user: "Anders Logg <logg@xxxxxxxxx>"
> > date: Tue Nov 27 10:11:57 2007 +0100
> > files:
> > 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
> >
>
>
References