I tried setting that parameter to true and then run the code again and I
still get the same error as before.


On Mon, Mar 10, 2014 at 2:08 PM, Anders Logg <[email protected]> wrote:

> ok. That explains it. Check your global parameters:
>
>   info(parameters, True)
>
> It is likely the parameter "no-evaluate_basis_derivatives" is set to
> True. Change it by
>
>   parameters.form_compiler.no-evaluate_basis_derivatives = False
>
> Then try again.
>
> --
> Anders
>
>
> On Mon, Mar 10, 2014 at 02:03:53PM -0700, Michael Wathen wrote:
> > I am trying to use the evaluate_basis_derivatives function from python.
> >
> >
> > On Mon, Mar 10, 2014 at 1:59 PM, Anders Logg <[email protected]> wrote:
> >
> >     Are you trying to use evaluate_basis_derivatives from C++ or from
> >     Python?
> >
> >
> >
> >     On Mon, Mar 10, 2014 at 11:42:54AM -0700, Michael Wathen wrote:
> >     > I checked the file demo/documented/poisson/cpp/Poisson.h and it
> does seem
> >     that
> >     > there is the function body
> >     ufc::finite_element::evaluate_basis_derivatives is
> >     > generated. I'm guessing this means that I am not quite using the
> function
> >     > correctly....
> >     >
> >     >
> >     > On Mon, Mar 10, 2014 at 11:24 AM, Garth N. Wells <[email protected]>
> wrote:
> >     >
> >     >
> >     >
> >     >     On Thu, 6 Mar, 2014 at 5:25 PM, Michael Wathen <
> [email protected]>
> >     wrote:
> >     >
> >     >         Hi,
> >     >
> >     >         I am trying to use the function evaluate_basis_derivatives
> but
> >     when I
> >     >         try and call it I get
> >     >         Function evaluate_basis_derivatives not generated
> (compiled with
> >     >         -fno-evaluate_basis_derivatives)
> >     >
> >     >
> >     >
> >     >     How did you compile the UFL files? The function(s) for
> evaluating
> >     >     derivatives are created by default by FFC, but can be turned
> off via
> >     a FFC
> >     >     option (to reduce the size of the generated code).
> >     >
> >     >     Looking at the generated file
> demo/documented/poisson/cpp/Poisson.h,
> >     the
> >     >     function body of
> ufc::finite_element::evaluate_basis_derivatives is
> >     >     generated.
> >     >
> >     >     Garth
> >     >
> >     >
> >     >
> >     >         The function evaluate_basis works fine. I installed FEniCS
> using
> >     >         dorsal.
> >     >
> >     >         Michael
> >     >
> >     >
> >     >
> >     >
> >
> >     > _______________________________________________
> >     > fenics-support mailing list
> >     > [email protected]
> >     > http://fenicsproject.org/mailman/listinfo/fenics-support
> >
> >
> >
>
>
_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support

Reply via email to